A small example package to get raw data from NIJZ vaccinations dashboard
Project description
cepimose
Small library to parse raw data from NIJZ's PowerBI dashboards embedded in NIJZ stats page:
Examples
Prepare environment
python -mvenv env
. ./env/bin/activate
pip install cepimose
Examples
import pandas as pd
import cepimose
data = cepimose.vaccinations_by_day()
df = pd.DataFrame.from_dict(data)
print(df)
data = cepimose.vaccinations_by_age()
df = pd.DataFrame.from_dict(data)
print(df)
data = cepimose.vaccines_supplied_and_used()
df = pd.DataFrame.from_dict(data)
print(df)
Changelog
0.0.4
Added vaccines_supplied_by_manufacturer()
0.0.3
Added vaccinations_by_region()
0.0.2
Initial release
Dev
git clone https://github.com/sledilnik/py-cepimose
cd py-cepimose
pipenv install -d # install dependencies (including dev)
pipenv run test # run all tests
pipenv run testForSledilnik # run just tests for sledilnik.org
pipenv shell # run virtualenv shell
pipenv run fmt # format the code (also available as VS Code task)
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
cepimose-0.1.33.tar.gz
(32.1 kB
view hashes)
Built Distribution
cepimose-0.1.33-py3-none-any.whl
(23.5 kB
view hashes)
Close
Hashes for cepimose-0.1.33-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92ae3088ef83ffec1c7b86ed03ab40f4e23a9aaae54be744786c9e1846233545 |
|
MD5 | 60b47f4ff8b44a8775e12198ba24e333 |
|
BLAKE2b-256 | 1e7d5c46f758891284e7656f94c0ab0688fcd02bbd11ccc214b1488d2b60a7a9 |