Comments (12)
Long story short, the JHU data is a complete mess, particularly in the daily series, there are key issues in multiple places.
I was working on a pull request for this repo, but required too many hacks to make the API data consistent.
Anyway, I made an API for US state data available here: https://github.com/energee/covid19-us-api based on NY time's csv. Hopefully its helpful!
from covid19.
There are some new changes coming to the source repo (#37).
I would need to change how the data is fetched so I'll add provinces then (in a different json).
from covid19.
I added provincial breakdown here: https://github.com/titaniumbones/covid19 . I don't understand github actions, therefore can't test them, and wanted to get this up ASAP so I just copied actions.js
to manual.js
and made a few changes there. extracted some logic into named functions. More than happy to make a PR but I won't be able to test till I have a chance to learn about actions (maybe tonight but maybe not.
from covid19.
I think I was able to do this in #13 :-/ -- anyway, actions seem to work. on my repo. Also possible to test by running GITHUB_WORKSPACE=somedir
after adding the relevant files into somedir/data
and somedir/main
from covid19.
Yes! do you want to send a PR changing the action to also create/update a timeline-by-region.json
or something similar?
There's also countries.json
with some info about each country, feel free to add more info to it.
from covid19.
(I also added the CSSE repo as a submodule, which makes it easy to update w/ a shell script.)
from covid19.
Awesome @titaniumbones.
I'm not sure if you can test the action locally (I don't have too much experience with actions either)
But you could change action.js and test it in your repo in every pull by changing
covid19/.github/workflows/main.yml
Lines 1 to 3 in a4873cb
to
on: [push]
If it works, send de PR and I'll merge it.
from covid19.
great work...have provinces been added yet?
from covid19.
Any updates on this? Working on a tracker that I'd really love to be able to support state/provinces as well.
from covid19.
would be nice if the countries could be mapped to their ISO 2 or 3 code, which in turn can be mapped to lon/lat. There are several nodejs libs available that have all the information required.
(and perhaps even a proper ISO date format and deaths today property)
from covid19.
Would really like state/province level info. Thank you for your work on this so far!
from covid19.
Taking the idea from this project, I made available COVID-19 data in GeoJSON format.
Repo URL: https://github.com/jsanjay63/covid19-geoextractor
Sample Data available: https://jsanjay63.github.io/covid19-geoextractor/output/covid19_time_series.geojson
Map Visualization: https://studio.here.com/viewer/?project_id=fc72e094-6ade-4c2f-8e9c-ecf902b36709
Feel free to give feedback or contribute. A small contribution to fight COVID :)
from covid19.
Related Issues (20)
- Update update cron
- data updating issues
- Add lastUpdated timestamp HOT 1
- Global Cases HOT 1
- Can we add latest.json HOT 1
- Add upto date json data
- Problems with Brazil data HOT 1
- Metadata Update
- More widely available data?
- Change update time? (~4 hours of old data)
- Hi! Congrats about the code, nice job!... On December 15 and 16, the Recoveries # for the US is missing (it is returning 0). It may be that Johns Hopkins may not have reported it either. However, there is a way to obtain by adding up by state. If I recall correctly, I was able to look at the US by state in your earlier versions?... is that info still accessible? is the entry for US recoveries an issue from the code?... Thank you! HOT 4
- Bad year for data for 2021 HOT 4
- hard-coded 2020 year in update.js HOT 3
- Recovered values are 0 for US after 2020-12-14 HOT 1
- Feature request: Add vaccination data
- Recovered issue HOT 2
- covidapi.info is down
- Data fetched by web app is outdated. HOT 1
- Site not found. HOT 1
- covid-19 data in shanghai
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from covid19.