The following function takes no arguments other than the optional endpoint and sources available spatial hierarchies. The returned hierarchies correspond to the available best-fit geographies and can be used to aggregate data zone level data.

get_geography_hierarchies()

Value

A data frame containing list of available hierarchies.

Details

In practice, the function can be used to to inform arguments in get_geography_data.

Examples

# NOT RUN {
head(get_available_hierarchies())
#   hierarchy                                                           label
# 1 http://statistics.gov.scot/def/hierarchy/best-fit#health-board-area Best fit health board area
# 2      http://statistics.gov.scot/def/hierarchy/best-fit#council-area Best fit council area
# }