validate_file_meta: Validate file_meta class objects

Description Usage Arguments Value meta information

View source: R/meta.R

Description

Validate file_meta class objects

Usage

1
validate_file_meta(obj, validate_class = TRUE, err_h)

Arguments

obj

An unnamed list object, where each entry is a col_meta class object.

validate_class

A logical. If set to TRUE then the obj must also have the file_meta class.

err_h

An error handler.

Value

The unmodified obj

meta information

The col_meta class objects are used in order to store some meta information about single data columns, like additional column desciptions, and column value/level descriptions. In order to store meta information about a set of columns a file_meta class object can be used. This objects store a list of col_meta class objects, where each col_meta class object corresponds to a specific column in a data set. This file_meta class objects are usually stored in file_structure class objects or file_definition class objects. But when calling read_data(), the meta information gets also appended to the resulting data.frame. The meta information stored in a file_structure, a file_definition class object or a read data.frame can be extracted by using the function get_meta(). A col_meta class object holds the following informations:


a-maldet/readall documentation built on Dec. 18, 2021, 9:23 p.m.