Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Display officially confirmed stats on statistics page as well #360

Open
fossecode opened this issue Mar 26, 2020 · 8 comments
Open

Display officially confirmed stats on statistics page as well #360

fossecode opened this issue Mar 26, 2020 · 8 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@fossecode
Copy link
Member

We can probably get data from one of these API's: https://github.com/soroushchehresa/awesome-coronavirus#api

Any ideas on what stats to display?

@jelbazi
Copy link
Contributor

jelbazi commented Mar 26, 2020

I was thinking about this too. I had the idea of maybe making a separate site, but putting it in here may be a good way to spread the information and have a stronger urge for the CTA's.

There are many stats we can show. I think these are very interesting.

For each country:

  • Growth rate (moving average). Is it going up or down? For both deaths and confirmed cases.
  • Cases per 1M
  • Death per 1M
  • Total confirmed cases
  • Mortality rate
  • Doubling time in days
  • ICU beds per patient (if we can find this)

@fossecode fossecode added enhancement New feature or request help wanted Extra attention is needed labels Mar 26, 2020
@jelbazi
Copy link
Contributor

jelbazi commented Mar 26, 2020

I have experience in time-series data manipulation. But only in python though. I can create an API that spits out the data we want. But we can also see if something exists already (from the list you shared) and call the endpoint with our current express app.

Option too is probably fastest if there's something already.

What do you think?

@fossecode
Copy link
Member Author

Would be nice if you could check if it already exists an API that exposes data for all countries!

@jelbazi
Copy link
Contributor

jelbazi commented Mar 26, 2020

This repo is in active development and already has clear and latest data https://github.com/NovelCOVID/API

They also have an API deployed we can use directly, example for NL:
https://corona.lmao.ninja/v2/historical/netherlands

Data from the start of this year too.

@fossecode
Copy link
Member Author

I think that looks good!

@jelbazi
Copy link
Contributor

jelbazi commented Mar 26, 2020

Yes right?! :) Javascript too, so could even implement into our own app if needed.

Shall I try to define what metrics we can derive from this data and what to show on our site?

Then discuss if everyone agrees and after that, you (or someone else) can shove it into coronastatus?

@fossecode
Copy link
Member Author

Sounds like a plan!

@jelbazi
Copy link
Contributor

jelbazi commented Mar 26, 2020

Some basic stats I think we can glean from the above API.

Charts can be added later too, but this should be relatively simple.

afbeelding

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants