Skip to contents

Get a SIMD Postcode Lookup

Usage

get_simd_postcode(
  postcode_version = "latest",
  simd_version = "latest",
  col_select = NULL,
  as_data_frame = TRUE
)

Arguments

postcode_version

Default is "latest", otherwise supply a tag e.g. "2023_2"

simd_version

Default is "latest", otherwise supply a version e.g. "2020v2"

col_select

A character vector of column names to keep, as in the "select" argument to data.table::fread(), or a tidy selection specification of columns, as used in dplyr::select().

as_data_frame

Should the function return a tibble (default) or an Arrow Table?

Value

a tibble of the SIMD Postcode lookup

Examples

get_simd_postcode()
#> Error: [ENOENT] Failed to search directory '/conf/linkage/output/lookups/Unicode/Deprivation': no such file or directory