Learn R Programming

COVID19 (version 0.2.1)

world: Coronavirus COVID-19 data - Global

Description

Tidy format dataset of the 2019 Novel Coronavirus COVID-19 (2019-nCoV) epidemic. Global data by state. The data are downloaded in real-time, processed and merged with demographic indicators (WB).

Usage

world(type = "state")

Arguments

type

one of country (data by country) or state (data by state). Default state, data by state.

Value

Tidy format tibble (data.frame) grouped by id:

id

id in the form "country|state|city".

date

date.

country

administrative area level 1.

state

administrative area level 2.

city

administrative area level 3.

lat

latitude.

lng

longitude.

deaths

the number of deaths.

confirmed

the number of cases.

tests

the number of tests.

deaths_new

daily increase in the number of deaths.

confirmed_new

daily increase in the number of cases.

tests_new

daily increase in the number of tests.

pop

total population.

pop_14

population ages 0-14 (% of total population).

pop_15_64

population ages 15-64 (% of total population).

pop_65

population ages 65+ (% of total population).

pop_age

median age of population.

pop_density

population density per km2.

pop_death_rate

population mortality rate.

Details

Data pulled from the repository for the 2019 Novel Coronavirus Visual Dashboard operated by the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE). Also, Supported by ESRI Living Atlas Team and the Johns Hopkins University Applied Physics Lab (JHU APL). This repository and its contents herein, including all data, mapping, and analysis, copyright 2020 Johns Hopkins University, all rights reserved, is provided to the public strictly for educational and academic research purposes. The Website relies upon publicly available data from multiple sources, that do not always agree. The Johns Hopkins University hereby disclaims any and all representations and warranties with respect to the Website, including accuracy, fitness for use, and merchantability. Reliance on the Website for medical guidance or use of the Website in commerce is strictly prohibited. Data Sources:

See Also

diamond, italy, switzerland

Examples

Run this code
# NOT RUN {
# data by country
x <- world("country")

# data by state
x <- world("state")

# }

Run the code above in your browser using DataLab