fingertipsR (version 0.1.3)

area_types: Area types

Description

Outputs a data frame of area type ids, their descriptions, and how they map to parent area types

Usage

area_types(AreaTypeName = NULL, AreaTypeID = NULL)

Arguments

AreaTypeName

Character vector, description of the area type; default is NULL

AreaTypeID

Numeric vector, the Fingertips ID for the area type; default is NULL

Value

A data frame of area type ids and their descriptions

See Also

indicators for indicator lookups, profiles for profile lookups and deprivation_decile for deprivation decile lookups and category_types for category lookups and indicator_areatypes for indicators by area types lookups

Other lookup functions: category_types, deprivation_decile, indicator_areatypes, indicator_metadata, indicators, profiles

Examples

Run this code
# NOT RUN {
# Returns a data frame with all levels of area and how they map to one another
area_types()

# Returns a data frame of county and unitary authority mappings
area_types("counties")

# Returns a table of both counties, district and unitary authorities and their respective mappings
areas <- c("counties","district")
area_types(areas)
# }

Run the code above in your browser using DataLab