int_duplicate_ids {dataquieR} | R Documentation |
Check for duplicated IDs
Description
This function tests for duplicates entries in identifiers. It is possible to check duplicated identifiers by study segments or to consider only selected segments.
Usage
int_duplicate_ids(
level = c("dataframe", "segment"),
study_data,
item_level = "item_level",
label_col,
meta_data = item_level,
meta_data_v2,
...
)
Arguments
level |
character a character vector indicating whether the assessment should be conducted at the study level (level = "dataframe") or at the segment level (level = "segment"). |
study_data |
data.frame the data frame that contains the measurements |
item_level |
data.frame the data frame that contains metadata attributes of study data |
label_col |
variable attribute the name of the column in the metadata with labels of variables |
meta_data |
data.frame old name for |
meta_data_v2 |
character path to workbook like metadata file, see
|
... |
Depending on |
Value
a list. Depending on level
, see
util_int_duplicate_ids_segment or
util_int_duplicate_ids_dataframe for a description of the outputs.