covid19datahub / COVID19

A worldwide epidemiological database for COVID-19 at fine-grained spatial resolution
https://covid19datahub.io
GNU General Public License v3.0
251 stars 92 forks source link

CZE L2 & slow changing data #38

Closed martinbenes1996 closed 4 years ago

martinbenes1996 commented 4 years ago

Just implemented L2 for Czech Republic. I also added slow changing variables.

Coordinates of Czech Republic

Latitude.to https://latitude.to/map/cz/czech-republic

Population density

Wikipedia https://en.wikipedia.org/wiki/Czech_Republic

Other slow changing variables (the regional ones etc.)

Czech Statistical Office https://www.czso.cz/csu/czso/demograficka-rocenka-kraju-2009-az-2018

martinbenes1996 commented 4 years ago

Before merging check mortality rate, probably different units used.

I used: mortality_rate = deaths_per_year_in_region / population_of_region * 1000

martinbenes1996 commented 4 years ago

After discussion, mortality of all countries is per person (not per 1000 people), hence: mortality_rate = deaths_per_year_in_region / population_of_region

I changed it at CZE data.

eguidotti commented 4 years ago

Thanks Martin! This pull has some conflicts with the master branch. I took the opportunity to fix some minor bugs, rename some internal functions and merge your code in the last commit. Kindly note that pop_female, pop_14, etc.. should be % values (<1) as documented in the README