View source: R/statswales_get_dataset.R
statswales_get_dataset | R Documentation |
statswales_get_dataset
returns a dataframe from
StatsWales using a dataset id. The
print_progress
argument can be set to TRUE
to keep track of
progress when extracting a large dataset.
statswales_get_dataset(id, print_progress = FALSE, language = "english")
id |
A dataset id. Must be a single string. |
print_progress |
logical. Should progress be printed in the console? |
language |
A string. Returns the dataset in either English ('english') or Welsh ('welsh'). The default is English. |
If the dataset id is valid, the function will return the requested dataset in a dataframe. If the id is not valid, the function will return an error.
data <- statswales_get_dataset("hlth0515")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.