Learn R Programming

COVID19 (version 0.2.1)

italy: Coronavirus COVID-19 data - Italy

Description

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

Usage

italy(type = "state")

Arguments

type

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

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 by Ministero della Salute, Dipartimento della Protezione Civile, Italia.

See Also

world, diamond, switzerland

Examples

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

# data by region
x <- italy("state")

# data by city
x <- italy("city")

# }

Run the code above in your browser using DataLab