validate_schema: General validation function for a naming schema. Just a...

Description Usage Arguments Value

View source: R/naming_functions.R

Description

General validation function for a naming schema. Just a wrapper, gathering other validation function in a single place

Usage

1
2
validate_schema(schema, tag.delim, component.delim,
  check.values.for.dups = FALSE)

Arguments

schema

list. List with a schema to be checked

tag.delim

character. The character which will be used as a delimiter between component tags and values

component.delim

character. The character which will be used as a delimiter between components tags

check.values.for.dups

logical. If TRUE, only names are checked (usuful for checking values schemas - values can be duplicater); if FALSE, names and values of the list elements are checked (useful for checking tagging schemas - tags should be unique)

Value

Nothing. Throws an error if the naming schema has some problems


antonmalko/ettools documentation built on May 28, 2019, 3:35 p.m.