
Read Pandemic PACT tracker dataset from the Pandemic PACT Figshare repository
Source:R/pact_read_figshare.R
pact_read_figshare.RdRead Pandemic PACT tracker dataset from the Pandemic PACT Figshare repository
Usage
pact_data_read_figshare(pact_client, latest = TRUE, version = NULL)
pact_read_figshare_dictionary(pact_client)Arguments
- pact_client
An interface client to the Pandemic PACT Figshare repository. This is usually set/created through a call to
pact_client_set().- latest
Logical. If
TRUE(default), the latest version of the Pandemic PACT dataset is read.- version
A character string specifying the version of the Pandemic PACT dataset to read. This should be in the format "YYYY-MM-DD". If
latestis set toTRUE, this argument is ignored. Ifversionis specified, it must match one of the available versions in the Pandemic PACT Figshare repository. If it does not match, a warning will be issued and the latest version will be read instead. Ifversionis not specified andlatestis set toFALSE, a warning will be issued and the latest version will be read instead.
Examples
if (FALSE) { # \dontrun{
pact_client <- pact_client_set()
pact_read_figshare_dictionary(pact_client)
} # }