prep_add_to_meta {dataquieR} | R Documentation |
Support function to augment metadata during data quality reporting
Description
adds an annotation to static metadata
Usage
prep_add_to_meta(
VAR_NAMES,
DATA_TYPE,
LABEL,
VALUE_LABELS,
item_level = "item_level",
meta_data = item_level,
meta_data_v2,
...
)
Arguments
VAR_NAMES |
character Names of the Variables to add |
DATA_TYPE |
character Data type for the added variables |
LABEL |
character Labels for these variables |
VALUE_LABELS |
character Value labels for the values of the variables
as usually pipe separated and assigned with
|
item_level |
data.frame the metadata to extend |
meta_data |
data.frame old name for |
meta_data_v2 |
character path to workbook like metadata file, see
|
... |
Further defined variable attributes, see prep_create_meta |
Details
Add metadata e.g. of transformed/new variable This function is not yet considered stable, but we already export it, because it could help. Therefore, we have some inconsistencies in the formals still.
Value
a data frame with amended metadata.