The queries sources properties for the desired data set and optionally values for those properties.

get_data_properties(data_set, property_values = FALSE)

Arguments

data_set

String corresponding to subject column derived via get_available_datasets.

property_values

A boolean. Defaults to FALSE. If TRUE the function will return values for each available property. The match is case sensitive

Value

A data frame.

Details

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.

Examples

# NOT RUN {
get_data_properties(data_set = "Life-Expectancy")
get_data_properties(data_set = "Life-Expectancy", property_values = TRUE)
# }