hxl_validate: Validate a HXL tbl against a schema pattern

Description Usage Arguments Value Examples

Description

Currently does strict matching ignoring whitespaces.

Usage

1
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

1
2
3
4
5
## Not run: 
some_dataset <- as_hxl(x)
validate(some_dataset, c("#adm1", "#adm2 +code"))

## End(Not run)

dirkschumacher/rhxl documentation built on May 15, 2019, 8:49 a.m.