prep_study2meta: Guess a meta data frame from study data.

Description Usage Arguments Details Value

View source: R/prep_study2meta.R

Description

Guess a minimum meta data frame from study data. Minimum required variable attributes are:

Usage

1
2
3
4

Arguments

study_data

data.frame the data frame that contains the measurements

level

enum level to provide (see also VARATT_REQUIRE_LEVELS)

Details

dataquieR:::util_get_var_att_names_of_level(VARATT_REQUIRE_LEVELS$REQUIRED)
1
2
##      VAR_NAMES      DATA_TYPE   MISSING_LIST 
##    "VAR_NAMES"    "DATA_TYPE" "MISSING_LIST"

The function also tries to detect missing codes.

Value

a meta_data data frame


dataquieR documentation built on Feb. 26, 2021, 5:08 p.m.