CovidToday / backend

Code for statistical methods which estimates outbreak indicators at Covid Today.
https://www.covidtoday.in/
GNU General Public License v3.0
13 stars 13 forks source link

Feature Changes- Metrics to be added #34

Closed siddharthjain1611 closed 4 years ago

siddharthjain1611 commented 4 years ago

Following metrics need to be calculated from source data, and printed onto output json and csv. (code to be added in PosRateNew.ipynb)

Rationale: daily cases per million: also called incidence per million tells us the rate of epidemic growth for that states size and population. daily tests per million: is more important rather than the currently used cumulative tests per million, since cumulative TPM will always increase and is thus limited in utility. daily tests moving avg (7 day) and daily deaths moving avg (7 day): moving avgs smooth out the weekly fluctuations which are artifacts due to the reporting system.

msudhanshu10 commented 4 years ago

I will be contributing in this issue.

msudhanshu10 commented 4 years ago

I can see a lot of csv files in testing-and-cfr directory. Can you give me clarity on the source data files?

MGMD-96 commented 4 years ago

The python script fetches the source json through wget and puts it in the directory as test.json

Output files are multiple. The consolidated outputs are covidtoday.json and com.csv

Once we complete the development, we will change these names and clean the repo.