Small library to parse raw data from NIJZ's PowerBI dashboards embedded in NIJZ stats page:
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)
Added vaccines_supplied_by_manufacturer()
Added vaccinations_by_region()
Initial release
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)