get_available_scales {sgapi}R Documentation

Available Boundary Scales for 'nomis' Table

Description

Retrieve available spatial scales for a given 'nomis' table id. This is useful as each table only has data at a specific set of scales, e.g. many census tables are available at MSOA and LSOA resolutions but not at Regional level.

Usage

get_available_scales(id, base_url = "https://www.nomisweb.co.uk/api/v01")

Arguments

id

A valid 'nomis' table id given as a string.

base_url

Nomis API base url

Value

A tidy dataframe listing the geographical scales available for the 'nomis' table selected.

Examples

get_available_scales(id="NM_1003_1")


[Package sgapi version 1.1.0 Index]