powered by
Validates that provided data codes exist in the heritage layers.
data_check(data_code)
NULL. Invisibly returns NULL if all codes are valid; otherwise throws an error.
NULL
character vector. Data codes to check.
character
Uses get_heritage_layernames() to get the list of valid codes.
get_heritage_layernames()
Throws an error if any data_code is invalid.
data_code