is_urban: Checks if a specified local authority is urban

Description Usage Arguments Details Value

View source: R/utils.r

Description

Checks if a local authority is urban according to a user specified classification. See the details for more, well, detail.

Usage

1
is_urban(lad, urban = c("MU", "LU", "OU"))

Arguments

lad

a character vector a LAD ids (post-2011 format)

urban

a character vector specifying which of the above classifications to consider as a urban

Details

The urban classifications are described at http://www.ons.gov.uk/ons/guide-method/geography/products/area-classifications/rural-urban-definition-and-la/rural-urban-local-authority–la–classification–england-/index.html and are summarized as follows:

Unfortunately these classifications are only defined for England. For all other countries, assumptions have been made about which LAUs are urban (LU) or rural (SR) using the following data sources:

Value

a boolean vector of length(lad) indicating whether the corresponding local authority is urban


jkeirstead/decctools documentation built on May 19, 2019, 11:41 a.m.