See the full documentation by typing
The dataset can be extended with World Bank Open Data via the argument
wb, a character vector of indicator codes. The codes can be found by inspecting the corresponding URL. For example, the code of the GDP indicator available at https://data.worldbank.org/indicator/NY.GDP.MKTP.CD is
The dataset can be extended with Google Mobility Reports via the argument
gmr, the url to the Google CSV file. At the time of writing, the CSV is available at:
gmr <- "https://www.gstatic.com/covid19/mobility/Global_Mobility_Report.csv" x <- covid19(gmr = gmr)
The dataset can be extended with Apple Mobility Reports via the argument
amr, the url to the Apple CSV file. At the time of writing, the CSV is available at:
Data sources are stored in the
# Data sources s <- attr(x, "src")
We have invested a lot of time and effort in creating COVID-19 Data Hub, please:
cite Guidotti and Ardia (2020) in working papers and published papers that use it.
you assume full risk for the use of COVID-19 Data Hub. We try our best to guarantee the data quality and consistency and the continuous filling of the Data Hub. However, it is free software and comes with ABSOLUTELY NO WARRANTY. Reliance on COVID-19 Data Hub for medical guidance or use of COVID-19 Data Hub in commerce is strictly prohibited.