Currently does strict matching ignoring whitespaces.

hxl_validate(x, schema_pattern)

Arguments

x

an HXL tibble

schema_pattern

a character vector

Value

TRUE if the schema pattern is part of the schema

Examples

# NOT RUN {
some_dataset <- as_hxl(x)
validate(some_dataset, c("#adm1", "#adm2 +code"))
# }