Skip to contents

Function that gets IMD deciles and quintiles for LSOA codes.

Usage

get_lsoa(x, return = c("all", "random", "first"))

Arguments

x

A data frame with a column of lsoas, or a vector of lsoas.

return

data frame of all postcodes in the LSOA area as default, one random from a decile or the first from a decile for example postcodes.