yaml.Qdfields.from.meta: Extracts unique and disjoint YAML data field shortcuts as...

Description Usage Arguments Value Examples

Description

Q_dfield_list is the list defining the data field shortcuts and the corresponding full name variations. Additionally, yaml.Qdfields.from.meta returns a vector of all YAML data fields for the given yaml_meta which are not captured by Q_dfield_list so far.

Usage

1

Arguments

yaml_meta

parsed YAML object as a structured list

Value

A list containing found_dnames, disjoint YAML data field shortcuts found in yaml_meta, and new_dnames, a vector of all YAML data fields for the given yaml_meta which are not captured by Q_dfield_list so far.

Examples

1
2
3
4
5
6
## Not run: 
d_results = yaml.debugger.run(qnames, d_init)
d_names  = unlist(sapply( d_results$Metainfos, function(yaml){ yaml.Qdfields.from.meta(yaml)$found_dnames } ))
( d_names_distr = sort(table(d_names), decreasing = T) )

## End(Not run)

lborke/yamldebugger documentation built on May 20, 2019, 10:24 p.m.