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.

Indicator

Usage

int_unexp_elements(identifier_name_list, data_element_count)

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.

Value

a list with

Examples

## Not run: 
study_tables <- list(
"sd1" = readRDS(system.file("extdata", "ship_subset1.RDS",
                     package = "dataquieR")),
"sd2" = readRDS(system.file("extdata", "ship_subset2.RDS",
                     package = "dataquieR"))
)

prep_add_data_frames(data_frame_list = study_tables)

int_unexp_elements(
 identifier_name_list = c("sd1", "sd2"),
 data_element_count = c(30, 29)
)

## End(Not run)

[Package dataquieR version 2.1.0 Index]