Web Scraper for Czechia COVID19 data.
Project description
Web Scraper of COVID-19 data for Czechia
Python package covid19czechia provides access to COVID-19 data of Czechia.
The data is scraped from
- Ministery of Health, Czech Republic
- Czech Statistical Office
Setup and usage
Install from pip with
pip install covid19czechia
Importing module is done such as
import covid19czechia as CZ
x = CZ.deaths_covid()
Package is regularly updated. Update with
pip install --upgrade covid19czechia
COVID-19 Deaths
Get Covid-19 deaths in Czechia (weekly counts, by gender and age group)
x = CZ.deaths_covid()
The function returns Pandas dataframe. It can be stored to csv file with
x.to_csv("filename.csv", header = True, index = False)
Administrative unit setting
Optional parameter level
sets granularity of administrative units
the deaths are computed in.
Defaultly (level = 1
) the deaths are taken from the whole Czechia.
x = CZ.deaths_covid(level = 1) # same as no argument given (above)
Settings level = 2
corresponds with deaths in regions (kraje, NUTS 3).
x = CZ.deaths_covid(level = 2)
Setting level = 3
means deaths per district (okresy, LAU 1).
x = CZ.deaths_covid(level = 3)
Read more about administrive units of Czech Republic here.
Total weekly deaths
TODO
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
Hashes for covid19czechia-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3da95b4608364ecc0021b523a75d75e194eaf1c601da94397d22d6de376f8ffc |
|
MD5 | 0fae64d623b5c459ec5a6041e0cc2713 |
|
BLAKE2b-256 | eaac92f6a15359687f5ee88ac946b01a4acf46d426e43cf5fb9e9b1e8e9f97db |