match_region_codes_internal: match_region_codes Match single region code. For internal...

View source: R/set_region_codes.R

match_region_codes_internalR Documentation

match_region_codes Match single region code. For internal use.

Description

match_region_codes Match single region code. For internal use.

Usage

match_region_codes_internal(
  x,
  key,
  region_level = NULL,
  use_char_length_info = NULL
)

Arguments

x

input code

key

data.frame or named vector, region key

region_level

character (vector) region level of the input codes

use_char_length_info

TRUE or named vector, whether to use code character length information in determining their region level. Defaults to NULL.

Value

vector


pttry/statficlassifications documentation built on Sept. 25, 2024, 9:30 a.m.