Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Tiim/daily-coronavirus-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daily Coronavirus Statistics

Source: European Centre for Disease Prevention and Control

This is a daily updated Repository of worldwide corona case statistics from ecdc.europa.eu. Every day the latest official Excel file is downloaded and processed into an easy to use json format. See below where to find the data.

This repository is not an official source!

For a simple visualisation of the data see here: Visualisation

Data

Explore the data on the data branch here.

Time Series Format

[
  {
    "date": "yyyy-mm-dd",
    "[geoId]": {
      "newCases": 0,
      "newDeaths": 0
    }
  }
]

For a list of country codes (geoId) see countries.json

Country List Text

A newline separated list of all country full names

Countries List Json

[
  {
    "geoId": "CH",
    "countryName": "Switzerland",
    "eu": "Non-EU/EEA | EU | 0"
  }
]

Scrape Metadata

Example:

{
  "lastScrape": "2020-03-18T17:58:57.470Z",
  "lastSourceUpdate": {
    "url": "https://www.ecdc.europa.eu/sites/default/files/documents/COVID-19-geographic-disbtribution-worldwide-2020-03-18.xls",
    "date": "2020-03-18",
    "fileExtension": "xls",
    "header_lastModified": "Wed, 18 Mar 2020 11:33:02 GMT"
  }
}