update_datasets: Update the Package Datasets

Description Usage Arguments Details Value Source Examples

View source: R/data_refresh.R

Description

Update the package datasets on the global environment with the most recent data on the Dev version

Usage

1

Arguments

silence

A boolean, if set to TRUE, will automatically install updates without prompt question, by default set to FALSE

Details

As the CRAN version is being updated every one-two months, the dev version of the package is being updated on a daily bases. This function enables to refresh the package dataset to the most up-to-date data. Changes will be available on the global environment

Value

A data.frame object

Source

coronavirus - Johns Hopkins University Center for Systems Science and Engineering (JHU CCSE) Coronavirus website

covid_south_korea - Wikipedia article "2020 coronavirus outbreak in South Korea" website

covid_iran - Wikipedia article "2020 coronavirus pandemic in Iran" website

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

# update with a question prompt
update_datasets(silence = FALSE)


# update without a question prompt
update_datasets(silence = TRUE)

## End(Not run)

adityasinhak/coronavirus documentation built on April 21, 2020, 7:28 a.m.