metaCheck: Check consistency of a meta data object.

View source: R/metaCheck.R

metaCheckR Documentation

Check consistency of a meta data object.

Description

Check consistency of a meta data object.

Usage

metaCheck(
  data,
  meta.data,
  file.data,
  match.data = TRUE,
  skip.chars = T,
  silent = F,
  debug = F
)

Arguments

data

The dataset being described (i.e. a data.frame).

meta.data

The existing meta.data object (see metaInit).

file.data

Path to the data file.

match.data

Check the metadata against the dataset? This is default and normally a main reason to run this function.

skip.chars

Only look at numeric variables in data? Default is TRUE.

silent

Print to terminal whether checks passed. If FALSE, this info will still be in the returned value.

debug

Start by calling browser().

Value

A logical variable whether all checks passed.

See Also

Other DataGen: metaInit(), metaPrint()


philipdelff/pmxtricks documentation built on Nov. 11, 2024, 5:16 p.m.