yspec.RdAfter writing data specification details in yaml format, read in as an object in R, query data set details, check / validate data sets, and write out data definition documents. To get started, check out the vignettes.
Write your document in yaml format
Use ys_load() to read in the yaml file
Use the .verbose to see more information while this is in progress
Once the spec object is loaded
spec$col to see the definition of col
summary(spec) to see a summary
yspec_add_factors() to create factors in the data set
Use ys_check() to check a data frame against the spec
Use ys_document() to render the specification object as a pdf file
Use ys_project() to create a collection of individual data specification
objects; this also can be rendered as a pdf file with ys_document()
Get help: Use ys_help to get further help and documentation in your R session
ys.sanitize a function to use for sanitizing text before processing with
latex; see yspec::pander_table()
ys.col.len the maximum number of characters in a data frame column
name; this defaults to 8 so that columns with 9 or more characters will
generate an error on load.
ys.fct.suffix the suffix to add to a column name, used by
yspec::yspec_add_factors()