View source: R/check_region_classifications.R
check_region_classification | R Documentation |
Functions for checking region classifications are divided into functions that test whether input is a certain element of classification returning logicals functions that check if input vector is ok. The checking functions return TRUE if everything is ok and FALSE if not. In case of FALSE, they also return a message containing information where the problem is.
check_region_classification(
region_names,
region_codes,
year = NULL,
lang = "fi",
offline = TRUE
)
region_names |
a vector of standard region names |
region_codes |
a vector of standard region codes |
year |
double or character, year of classification |
lang |
|
offline |
logical, whether works offline with package data. Defaults to |
Testing of the region information of data should proceed by first checking if the region codes and names are ok and then whether they correctly correspond to each other.
logical
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.