int_unexp_elements {dataquieR} | R Documentation |
Check for unexpected data element count
Description
This function contrasts the expected element number in each study in the metadata with the actual element number in each study data frame.
Usage
int_unexp_elements(
identifier_name_list,
data_element_count,
meta_data_dataframe = "dataframe_level",
meta_data_v2,
dataframe_level
)
Arguments
identifier_name_list |
character a character vector indicating the name of each study data frame, mandatory. |
data_element_count |
integer an integer vector with the number of expected data elements, mandatory. |
meta_data_dataframe |
data.frame the data frame that contains the metadata for the data frame level |
meta_data_v2 |
character path to workbook like metadata file, see
|
dataframe_level |
data.frame alias for |
Value
a list with
-
DataframeData
: data frame with the results of the quality check for unexpected data elements -
DataframeTable
: data frame with selected unexpected data elements check results, used for the data quality report.