DataHerb
Flora Add Data Articles
Ecosystem
Python Package
Community
Telegram
About

DataHerb:

COVID-19 Data by ECDC

• [ #Health ]

DataHerb Metadata

  • DataHerb ID: ecdc_covid_19_timeseries
  • DataHerb Name: COVID-19 Data by ECDC
  • Contributors: DataHerb
  • Description: A Copy of the ECDC COVID-19 dataset
  • GitHub Repository: DataHerb/covid-19-ecdc

DataHerb Leaves: Files in Dataset

  • Metadata
  • Usage
  • Name: ECDC COVID-19 data in JSON format
  • File:
  • Format: json
  • Size: 1.9M

Fields

  1. date: Data in string format for display purpose
  2. authority: name of the country or territory
  3. alpha_3: alpha 3 code of the country of the territory
  4. alpha_2: alpha 2 code of the country or territory
  5. population_2018: population of the country or territory in 2018
  6. cases: number of new confirmed cases
  7. deaths: number of new deaths

Import Data

Load data into a Pandas DataFrame:
import pandas as pd
url = "https://raw.githubusercontent.com/DataHerb/covid-19-ecdc/master/dataset/ecdc_covid19.json"
df = pd.read_json(url)
  • Name: ECDC COVID-19 data in CSV format
  • File:
  • Format: csv
  • Size: 484K

Fields

  1. date: Data in string format for display purpose
  2. authority: name of the country or territory
  3. alpha_3: alpha 3 code of the country of the territory
  4. alpha_2: alpha 2 code of the country or territory
  5. population_2018: population of the country or territory in 2018
  6. cases: number of new confirmed cases
  7. deaths: number of new deaths

Preview

Import Data

Copy the following code and paste into a Google Spreadsheet cell.
=IMPORTDATA("https://raw.githubusercontent.com/DataHerb/covid-19-ecdc/master/dataset/ecdc_covid19.csv")
Load data into a Pandas DataFrame:
import pandas as pd
url = "https://raw.githubusercontent.com/DataHerb/covid-19-ecdc/master/dataset/ecdc_covid19.csv"
df = pd.read_csv(url)

References:

  • ECDC: Download today’s data on the geographic distribution of COVID-19 cases worldwide
explorer@dataherb: ~
The DataHerb Terminal — Type help.
➜ ~

The DataHerb Index by DataHerb.