Giter VIP home page Giter VIP logo

covid19's People

Contributors

abfo avatar actions-user avatar ae0l avatar agaktr avatar ahmadchaiban avatar alexanderritik avatar atapas avatar backtrackbaba avatar daniel-karl avatar dhanushkac avatar f2acode avatar hisham2k9 avatar jvas28 avatar kant avatar khanshaheb34 avatar lkameya avatar main-sh4 avatar milap-neupane avatar mugabodeo avatar neniemsu avatar ngmikeng avatar nickmccullum avatar nooblyf avatar pomber avatar rafaelcastellar avatar remdelaportemathurin avatar ritomsonowal avatar sauravkanchan avatar thomas-alrek avatar twei55 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

covid19's Issues

Add country codes

I am experimenting with the API and it would be useful to add country codes corresponding to each country.

Ruby Adapter

Hi! I created a Ruby gem that can send GET requests to this URL with the region that they're looking for. You can access it here:

https://github.com/everythings-cancelled/pomber_covid19

I was thinking about adding in the README a list of adapters/wrappers for this data that are available. Would people have objections to that?

Data Update

The data isn't updated today. At what time do you update 20th March's data? It's 8 PM EST. Please let me know if you ll be updating it everyday.

Testing counts

If it's a data issue please check the source repo first. We use the data from these files:

If the error is there too, open an issue in that repo.

Is there any option to add testing numbers, to calculate the rate of postive tests daily.

Missing data

Hi and thanks for the great work.
It seems that the data for the 23/03 and 24/04 seem to be exactly the same.
Thanks

v2 api structure

I propose updating the JSON format to have a JSON array to make it simpler to parse it easily in a dynamic manner.

Current JSON format

{
	"Afghanistan": [{
			"date": "2020-1-22",
			"confirmed": 0,
			"deaths": 0,
			"recovered": 0
		},
		{
			"date": "2020-1-23",
			"confirmed": 0,
			"deaths": 0,
			"recovered": 0
		}
	],
	"Albania": [{
			"date": "2020-1-22",
			"confirmed": 0,
			"deaths": 0,
			"recovered": 0
		},
		{
			"date": "2020-1-23",
			"confirmed": 0,
			"deaths": 0,
			"recovered": 0
		}
	]
}

Proposed JSON format

{
	"countryWise": [
		{
			"country": "Afghanistan",
			"timeSeries": [
				{
					"date": "2020-4-16",
					"confirmed": 840,
					"deaths": 30,
					"recovered": 54
				},
				{
					"date": "2020-4-16",
					"confirmed": 840,
					"deaths": 30,
					"recovered": 54
				}
			]
		},
		{
			"country": "Albania",
			"timeSeries": [
				{
					"date": "2020-4-16",
					"confirmed": 840,
					"deaths": 30,
					"recovered": 54
				},
				{
					"date": "2020-4-16",
					"confirmed": 840,
					"deaths": 30,
					"recovered": 54
				}
			]
		},
		{
			"country": "Unknown",
			"timeSeries": [
				{
					"date": "2020-4-16",
					"confirmed": 840,
					"deaths": 30,
					"recovered": 54
				}
			]
		}
	]
}

CSSEGISandData / COVID-19 breaking changes

Please reference the new files time_series_covid19_confirmed_global.csv and time_series_covid19_deaths_global.csv


News from CSSEGISandData / COVID-19 repository
---DEPRECATED WARNING---
The files below will no longer be updated. With the release of the new data structure, we are updating our time series tables to reflect these changes. Please reference time_series_covid19_confirmed_global.csv and time_series_covid19_deaths_global.csv for the latest time series data.

time_series_19-covid-Confirmed.csv
time_series_19-covid-Deaths.csv
time_series_19-covid-Recovered.csv

Support for Lat, Long, and Province/State

Hey, great project! It's nice having a cached JSON representation of CSSEGISandData/COVID on github!

What do you think about adding lat / long attributes? Also province/states (maybe in a separate JSON file)?

I can help if it is something you're interested in.

Data Reorganizing

It looks like CSSE is reorganizing their data, and they are removing recovered, and adding a testing file.

Here

Add lastUpdated timestamp

Without breaking current api, we can add a timestamp.json file that contains
{ lastUpdated: timestamp }

Add source of the data in JSON

I think the data should provide a JSON key of source for each country, where's the data fetch from?

For example:

Thailand: {
      ...currentData,
      source: {
          provider: "government",
          link: "some URL",
          update: "some date format"
     }
}

Data not actual

The description says "Updated three times a day using GitHub Actions." but the last data (Germany) is from 2020-03-17 and today is 2020-03-18. In your json there are 9257 currently infected and the data of CSSEGISandData/COVID-19 says there are already 11.973.

I hope you can fix this.

data updating issues

If it's a data issue please check the source repo first. We use the data from these files:

If the error is there too, open an issue in that repo.

hello pomber you have been doing a great job so far but let make it more super , data from US are not always up to date for the past days please Add more time schedule and more run like 10-15 more runs is not bad Thanks .

Bahamas and Gambia 'recovered' data missing or mis-formatted

Recovered csv --- PAGE MISSING

As of 2020-03-26, both the Bahamas and Gambia return None instead of 0 for every value of corresponding to the recovered key. No issues with any other country and no issues with deaths or confirmed keys.

python3 code

import requests
import json
rq = requests.get("https://pomber.github.io/covid19/timeseries.json")
data = json.loads(rq.content)

for country in data.keys():                                                    
    for dt in data[country]:                                                   
        if not isinstance(dt['recovered'], int):                               
            print(f"{country} - {dt['date']} - {dt['recovered']} - {type(dt['recovered'])}")

Bahamas - 2020-1-22 - None - <class 'NoneType'>
Bahamas - 2020-1-23 - None - <class 'NoneType'>
Bahamas - 2020-1-24 - None - <class 'NoneType'>
Bahamas - 2020-1-25 - None - <class 'NoneType'>
Bahamas - 2020-1-26 - None - <class 'NoneType'>
Bahamas - 2020-1-27 - None - <class 'NoneType'>
Bahamas - 2020-1-28 - None - <class 'NoneType'>
Bahamas - 2020-1-29 - None - <class 'NoneType'>
Bahamas - 2020-1-30 - None - <class 'NoneType'>
Bahamas - 2020-1-31 - None - <class 'NoneType'>
Bahamas - 2020-2-1 - None - <class 'NoneType'>
Bahamas - 2020-2-2 - None - <class 'NoneType'>
Bahamas - 2020-2-3 - None - <class 'NoneType'>
Bahamas - 2020-2-4 - None - <class 'NoneType'>
Bahamas - 2020-2-5 - None - <class 'NoneType'>
Bahamas - 2020-2-6 - None - <class 'NoneType'>
Bahamas - 2020-2-7 - None - <class 'NoneType'>
Bahamas - 2020-2-8 - None - <class 'NoneType'>
Bahamas - 2020-2-9 - None - <class 'NoneType'>
Bahamas - 2020-2-10 - None - <class 'NoneType'>
Bahamas - 2020-2-11 - None - <class 'NoneType'>
Bahamas - 2020-2-12 - None - <class 'NoneType'>
Bahamas - 2020-2-13 - None - <class 'NoneType'>
Bahamas - 2020-2-14 - None - <class 'NoneType'>
Bahamas - 2020-2-15 - None - <class 'NoneType'>
Bahamas - 2020-2-16 - None - <class 'NoneType'>
Bahamas - 2020-2-17 - None - <class 'NoneType'>
Bahamas - 2020-2-18 - None - <class 'NoneType'>
Bahamas - 2020-2-19 - None - <class 'NoneType'>
Bahamas - 2020-2-20 - None - <class 'NoneType'>
Bahamas - 2020-2-21 - None - <class 'NoneType'>
Bahamas - 2020-2-22 - None - <class 'NoneType'>
Bahamas - 2020-2-23 - None - <class 'NoneType'>
Bahamas - 2020-2-24 - None - <class 'NoneType'>
Bahamas - 2020-2-25 - None - <class 'NoneType'>
Bahamas - 2020-2-26 - None - <class 'NoneType'>
Bahamas - 2020-2-27 - None - <class 'NoneType'>
Bahamas - 2020-2-28 - None - <class 'NoneType'>
Bahamas - 2020-2-29 - None - <class 'NoneType'>
Bahamas - 2020-3-1 - None - <class 'NoneType'>
Bahamas - 2020-3-2 - None - <class 'NoneType'>
Bahamas - 2020-3-3 - None - <class 'NoneType'>
Bahamas - 2020-3-4 - None - <class 'NoneType'>
Bahamas - 2020-3-5 - None - <class 'NoneType'>
Bahamas - 2020-3-6 - None - <class 'NoneType'>
Bahamas - 2020-3-7 - None - <class 'NoneType'>
Bahamas - 2020-3-8 - None - <class 'NoneType'>
Bahamas - 2020-3-9 - None - <class 'NoneType'>
Bahamas - 2020-3-10 - None - <class 'NoneType'>
Bahamas - 2020-3-11 - None - <class 'NoneType'>
Bahamas - 2020-3-12 - None - <class 'NoneType'>
Bahamas - 2020-3-13 - None - <class 'NoneType'>
Bahamas - 2020-3-14 - None - <class 'NoneType'>
Bahamas - 2020-3-15 - None - <class 'NoneType'>
Bahamas - 2020-3-16 - None - <class 'NoneType'>
Bahamas - 2020-3-17 - None - <class 'NoneType'>
Bahamas - 2020-3-18 - None - <class 'NoneType'>
Bahamas - 2020-3-19 - None - <class 'NoneType'>
Bahamas - 2020-3-20 - None - <class 'NoneType'>
Bahamas - 2020-3-21 - None - <class 'NoneType'>
Bahamas - 2020-3-22 - None - <class 'NoneType'>
Bahamas - 2020-3-23 - None - <class 'NoneType'>
Bahamas - 2020-3-24 - None - <class 'NoneType'>
Bahamas - 2020-3-25 - None - <class 'NoneType'>
Bahamas - 2020-3-26 - None - <class 'NoneType'>
Gambia - 2020-1-22 - None - <class 'NoneType'>
Gambia - 2020-1-23 - None - <class 'NoneType'>
Gambia - 2020-1-24 - None - <class 'NoneType'>
Gambia - 2020-1-25 - None - <class 'NoneType'>
Gambia - 2020-1-26 - None - <class 'NoneType'>
Gambia - 2020-1-27 - None - <class 'NoneType'>
Gambia - 2020-1-28 - None - <class 'NoneType'>
Gambia - 2020-1-29 - None - <class 'NoneType'>
Gambia - 2020-1-30 - None - <class 'NoneType'>
Gambia - 2020-1-31 - None - <class 'NoneType'>
Gambia - 2020-2-1 - None - <class 'NoneType'>
Gambia - 2020-2-2 - None - <class 'NoneType'>
Gambia - 2020-2-3 - None - <class 'NoneType'>
Gambia - 2020-2-4 - None - <class 'NoneType'>
Gambia - 2020-2-5 - None - <class 'NoneType'>
Gambia - 2020-2-6 - None - <class 'NoneType'>
Gambia - 2020-2-7 - None - <class 'NoneType'>
Gambia - 2020-2-8 - None - <class 'NoneType'>
Gambia - 2020-2-9 - None - <class 'NoneType'>
Gambia - 2020-2-10 - None - <class 'NoneType'>
Gambia - 2020-2-11 - None - <class 'NoneType'>
Gambia - 2020-2-12 - None - <class 'NoneType'>
Gambia - 2020-2-13 - None - <class 'NoneType'>
Gambia - 2020-2-14 - None - <class 'NoneType'>
Gambia - 2020-2-15 - None - <class 'NoneType'>
Gambia - 2020-2-16 - None - <class 'NoneType'>
Gambia - 2020-2-17 - None - <class 'NoneType'>
Gambia - 2020-2-18 - None - <class 'NoneType'>
Gambia - 2020-2-19 - None - <class 'NoneType'>
Gambia - 2020-2-20 - None - <class 'NoneType'>
Gambia - 2020-2-21 - None - <class 'NoneType'>
Gambia - 2020-2-22 - None - <class 'NoneType'>
Gambia - 2020-2-23 - None - <class 'NoneType'>
Gambia - 2020-2-24 - None - <class 'NoneType'>
Gambia - 2020-2-25 - None - <class 'NoneType'>
Gambia - 2020-2-26 - None - <class 'NoneType'>
Gambia - 2020-2-27 - None - <class 'NoneType'>
Gambia - 2020-2-28 - None - <class 'NoneType'>
Gambia - 2020-2-29 - None - <class 'NoneType'>
Gambia - 2020-3-1 - None - <class 'NoneType'>
Gambia - 2020-3-2 - None - <class 'NoneType'>
Gambia - 2020-3-3 - None - <class 'NoneType'>
Gambia - 2020-3-4 - None - <class 'NoneType'>
Gambia - 2020-3-5 - None - <class 'NoneType'>
Gambia - 2020-3-6 - None - <class 'NoneType'>
Gambia - 2020-3-7 - None - <class 'NoneType'>
Gambia - 2020-3-8 - None - <class 'NoneType'>
Gambia - 2020-3-9 - None - <class 'NoneType'>
Gambia - 2020-3-10 - None - <class 'NoneType'>
Gambia - 2020-3-11 - None - <class 'NoneType'>
Gambia - 2020-3-12 - None - <class 'NoneType'>
Gambia - 2020-3-13 - None - <class 'NoneType'>
Gambia - 2020-3-14 - None - <class 'NoneType'>
Gambia - 2020-3-15 - None - <class 'NoneType'>
Gambia - 2020-3-16 - None - <class 'NoneType'>
Gambia - 2020-3-17 - None - <class 'NoneType'>
Gambia - 2020-3-18 - None - <class 'NoneType'>
Gambia - 2020-3-19 - None - <class 'NoneType'>
Gambia - 2020-3-20 - None - <class 'NoneType'>
Gambia - 2020-3-21 - None - <class 'NoneType'>
Gambia - 2020-3-22 - None - <class 'NoneType'>
Gambia - 2020-3-23 - None - <class 'NoneType'>
Gambia - 2020-3-24 - None - <class 'NoneType'>
Gambia - 2020-3-25 - None - <class 'NoneType'>
Gambia - 2020-3-26 - None - <class 'NoneType'>

Lasted Updated Timestamp

Thank you for providing this data. Can you provide the last updated timestamp in the object? That would be helpful to understand the last time the numbers where run.

Open Source Helps!

Thanks for your work to help the people in need! Your site has been added! I currently maintain the Open-Source-COVID-19 page, which collects all open source projects related to COVID-19, including maps, data, news, api, analysis, medical and supply information, etc. Please share to anyone who might need the information in the list, or will possibly contribute to some of those projects. You are also welcome to recommend more projects.

http://open-source-covid-19.weileizeng.com/

Cheers!

I tried to add my Project

I tried to add my project to "Projects using this dataset" however its not showing up in
https://github.com/pomber/covid19

I am not a collaboration expert. So I think I was missing a step.

Here is what I did:

I clicked on "+Add yours" then appended my item at the bottom of the appropriate list then hit "Propose Change":

My edit was something like this:

Date not updating.

It's still stuck at 21st March 2020. The timeliness of the data is crucial.

Get only needed data

  1. What should I do to get the data only from France?

I open the (https://covid19-graphql.now.sh/) site and play the following query

{
  country(name:"France") {
    results {
      date
      confirmed
      recovered
      deaths
      growthRate
    }
  }
}

I need only France, so I copy the query as fetch

fetch("https://covid19-graphql.now.sh/", {
        "credentials": "omit",
        "headers": {
            "accept": "*/*",
            "accept-language": "fr,ru;q=0.9,en;q=0.8,en-US;q=0.7,ro;q=0.6,de;q=0.5",
            "cache-control": "no-cache",
            "content-type": "application/json",
            "pragma": "no-cache",
            "sec-fetch-dest": "empty",
            "sec-fetch-mode": "cors",
            "sec-fetch-site": "same-origin"
        },
        "referrer": "https://covid19-graphql.now.sh/",
        "referrerPolicy": "no-referrer-when-downgrade",
        "body": "{\"operationName\":null,\"variables\":{},\"query\":\"{\\n  country(name: \\\"France\\\") {\\n    results {\\n      date\\n      confirmed\\n      recovered\\n      deaths\\n      growthRate\\n    }\\n  }\\n}\\n\"}",
        "method": "POST",
        "mode": "cors"
    })

expecting to obtain

{
  "data": {
    "country": {
      "results": [
        {
          "date": "2020-1-22",
          "confirmed": 0,
          "recovered": 0,
          "deaths": 0,
          "growthRate": 0
        },
        {
          "date": "2020-1-23",
          "confirmed": 0,
          "recovered": 0,
          "deaths": 0,
          "growthRate": null
        },

        { ... },

        {
          "date": "2020-3-27",
          "confirmed": 33402,
          "recovered": 5707,
          "deaths": 1997,
          "growthRate": 0.13031707894825895
        },
        {
          "date": "2020-3-28",
          "confirmed": 38105,
          "recovered": 5724,
          "deaths": 2317,
          "growthRate": 0.14079995209867674
        }
      ]
    }
  }
}
  1. Is it possible, in order do not need to parse the data, the date to be in UTC milliseconds?

Convert json to array

I would like to pass the data from a json url to jquery array.

The URL is as follows https://pomber.github.io/covid19/timeseries.json

She returns me IDS as below:

{"Afghanistan": [{"date": "2020-1-22", "confirmed": 0, "deaths": 0, "recovered": 0}, {"date": "2020-1-23" , "confirmed": 0, "deaths": 0, "recovered": 0}, {"date": "2020-1-24", "confirmed": 0, "deaths": 0, "recovered": 0

}, ....
However, I would like to ignore the country ID and group all the data in date, confirmed cases, deaths, recovered, to have a complete series.

It would look something like this:

["2020-1-22", 156, 211, 418], ["2020-1-23", 310, 245, 301], ...

If you can help me, I would be grateful.

Missing Country

New Caledonia is not in your JSON but is available in the source.

Data is Repeating.

I have observed that data have repetition for many countries. for example data of 22nd march and 23rd march is same for many countries. This is a bug.

Issue with data for Poland

I have an issue with the data for Poland. It shows 13 people who have recovered on 18th but only 1 person on 19th. Shouldn't it remain the same or increase?

cannot see the en.wiktionary.org/wiki/Rโ‚€

of all the analyses derived from and listed on https://github.com/pomber/covid19/ of which i like https://paroj.github.io/arewedeadyet/ the most i couldnot yet find any single one charting the spacetime evolution of the epidemiological https://en.wikipedia.org/wiki/basic_reproduction_number https://en.wiktionary.org/wiki/Rโ‚€ supposed to have fallen from >1.0 via 0.9 to now 0.7 in Germany this week, so can somebody quicker than me in the necessary calculations add that somewhere?

All recovered values are null

The current data set is now reporting all recovered values as null.

The upstream data source has changed their data structure and file naming convention. See the README.

time_series_19-covid-Recovered.csv is no longer available. It has been replaced with time_series_covid19_recovered_global.csv.

add global data

Hello ๐Ÿ™Œ๐Ÿป

What do you think about adding global (total) data for all countries?
It will be helpful for my charts, but I not sure that count it every time is best idea.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.