The queries sources properties for the desired data set and optionally values for those properties.
get_data_properties(data_set, property_values = FALSE)
data_set | String corresponding to |
---|---|
property_values | A boolean. Defaults to |
A data frame.
Please note that for some of the data sets case is significant. For
instance life-expectancy
will match
http://statistics.gov.scot/data/life-expectancy whereas
Life-Expectancy
will match
http://statistics.gov.scot/data/Life-Expectancy the first data set
is obsolete and maintained by The Scottish Government for the backward
compatibility. If in doubt paste dataset.value
URI
obtained
via the get_available_datasets
function.
# NOT RUN { get_data_properties(data_set = "Life-Expectancy") get_data_properties(data_set = "Life-Expectancy", property_values = TRUE) # }