get_geography_hierarchies: Get Available Spatial Frameworks

Description Usage Details Value Examples

View source: R/get_geography_hierarchies.R

Description

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.

Usage

1

Details

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

Value

A data frame containing list of available hierarchies.

Examples

1
2
3
4
5
6
7
## 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

## End(Not run)

konradedgar/SmarterScotland documentation built on Oct. 3, 2019, 11:46 a.m.