check_region_codes: Check region codes

View source: R/check_region_classifications.R

check_region_codesR Documentation

Check region codes

Description

Checks whether all the elements in the given vector of potential region codes are standardized region codes. If they are returns TRUE, if they are not, returns a message telling which elements are not recognized as region codes.

Usage

check_region_codes(x, year = NULL, offline = TRUE)

Arguments

x

character vector or factor

year

double or character, year of classification

offline

logical, whether works offline with package data. Defaults to TRUE.

Value

vector of logicals


pttry/statficlassifications documentation built on Sept. 17, 2024, 12:10 p.m.