View source: R/util_int_duplicate_ids_dataframe.R
| util_int_duplicate_ids_dataframe | R Documentation |
This function tests for duplicates entries in identifiers. It is possible to check duplicated identifiers by study segments or to consider only selected segments.
util_int_duplicate_ids_dataframe(
level = c("dataframe"),
id_vars_list,
identifier_name_list,
repetitions,
meta_data_dataframe = "dataframe_level",
...,
dataframe_level
)
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"). |
id_vars_list |
list id variable names for each segment or data frame |
identifier_name_list |
vector the segments or data frame names being assessed |
repetitions |
vector an integer vector indicating the number of allowed repetitions in the |
meta_data_dataframe |
data.frame the data frame that contains the metadata for the data frame level |
... |
not used. |
dataframe_level |
data.frame alias for |
a list with
DataframeData: data frame with the results of the quality check for duplicated identifiers
DataframeTable: data frame with selected duplicated identifiers check results, used for the data quality report.
Other: named list with inner lists of unique cases containing each the
row indices of duplicated identifiers separated by "|" , if any.
outer names are names of the data frames
Other integrity_indicator_functions:
util_int_duplicate_content_dataframe(),
util_int_duplicate_content_segment(),
util_int_duplicate_ids_segment(),
util_int_unexp_records_set_dataframe(),
util_int_unexp_records_set_segment()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.