Learn R Programming

frheritage (version 0.1.0)

data_check: Check that layer data codes are valid

Description

Validates that provided data codes exist in the heritage layers.

Usage

data_check(data_code)

Value

NULL. Invisibly returns NULL if all codes are valid; otherwise throws an error.

Arguments

data_code

character vector. Data codes to check.

Details

  • Uses get_heritage_layernames() to get the list of valid codes.

  • Throws an error if any data_code is invalid.

See Also

get_heritage_layernames()