statswales_get_metadata {statswalesr} | R Documentation |
Retrieve metadata of a dataset from StatsWales
Description
statswales_get_metadata
returns a dataframe containing metadata from
StatsWales using a dataset id.
Usage
statswales_get_metadata(id, language = "english")
Arguments
id |
A dataset id as a string |
language |
A string. Returns the metadata in either English ('english') or Welsh ('welsh'). The default is English. |
Value
If the dataset id is valid, the output will be the requested metadata in a dataframe. If the id is not valid, the function will return an HTTP error.
Examples
metadata <- statswales_get_metadata("hlth0515")
[Package statswalesr version 0.2.0 Index]