Python package with tools to help transforming Snapshots and Streams data.
Project description
Tools for processing and analysing data from Snapshots and Streams.
Installation
To install this library, run the following commands.
$ pip install --upgrade factiva-pipelines
Using Library services
Create a new snapshot and download to a local repository just require a few lines of code.
from factiva.pipelines import snapshot_files as sf
from factiva.pipelines import metadata as fm
all_articles = sf.read_folder('./nag6oqitd2', only_stats=True)
all_articles = fm.expand_country_codes(covid)
all_articles = fm.expand_industry_codes(covid)
In the previous code a folder from a Snapshot download is read fully into a Pandas Dataframe. Then, some metadata codes are expanded into new columns with their human-readable texts.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for factiva_pipelines-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec53a68c1ca8404fc0801702b9eba1aa9b2a51c18a33d09b1c6cc535a7a56df4 |
|
MD5 | d1fc0085dc42207b92927ae6b7937f83 |
|
BLAKE2b-256 | e0f11403a363cc1e128b453c0cd5a14af59df2b19a476c6af24e8f817b719b28 |