covid19india / covid19india-react

Tracking the impact of COVID-19 in India
https://www.covid19india.org
MIT License
6.85k stars 3.41k forks source link

Rate of positive test results #2182

Closed akumar90 closed 4 years ago

akumar90 commented 4 years ago

Is your feature request related to a problem? Please describe. Have a clear understanding on whether the increased number of cases is because of increased testing Vs. increased spread. As per WHO guidelines, if a positive test rate is greater than 10%, the country is not doing enough testing.

Describe the solution you'd like Understanding what the trend of rate of positive tests has been overtime.

Describe alternatives you've considered N/A

Additional context Having a graph similar to the active graph would be great. I am imagining the rate to be calculated as (number of positive results/number of tests)%

**Also working on creating something for rate of transmission of the disease. Will create a new feature ticket once I have requirements flushed out.

rtkg12 commented 4 years ago

I think this will be a good metric to add too and I'm interested in working on this.

agrahajigyasu commented 4 years ago

This feature will be really helpful and will help people to judge which state is ahead in testing. Very interested to work on this feature

akumar90 commented 4 years ago

In addition to the positivity rate, creating a view for Rt (i.e. rate of transfer) would also be helpful. I have taken the liberty of writing the code for these functionality (in Python though). Hopefully someone can re-use this code to be implemented as part of React.

Check data_processing.ipynb

covid.zip