Description Usage Arguments Value See Also Examples
View source: R/get_available_datasets.R
Returns data on what countries are available from the data provided with this package either using a cached dataset or built by searching the target namespace.
1 | get_available_datasets(type, render = FALSE, namespace = "covidregionaldata")
|
type |
A character vector indicating the types of data to
return. Current options include "national" (which are datasets at the
national level which inherit from |
render |
Logical If TRUE the supported data set table is built from the
available classes using |
namespace |
Character string The name of the namespace to search for class objects. Defaults to "covidregionaldata" as the package. |
A list of available data sets and the spatial aggregation data is available for.
Data interface functions
CountryDataClass
,
DataClass
,
get_national_data()
,
get_regional_data()
,
initialise_dataclass()
1 2 3 4 5 6 7 8 9 10 11 | # see all available datasets
get_available_datasets()
# see only national level datasets
get_available_datasets("national")
# see only regional level datasets
get_available_datasets("regional")
# render the data
get_available_datasets(render = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.