read_validation_overview: This function loads a multi-page secuTrial 'Validation...

View source: R/read_validation_overview.R

read_validation_overviewR Documentation

This function loads a multi-page secuTrial 'Validation Overview' report into an R tibble.

Description

This function loads a multi-page secuTrial 'Validation Overview' report into an R tibble.

Usage

read_validation_overview(data_dir, skip = 7)

Arguments

data_dir

Path to the Validation Overview (must be an *.xlsx file).

skip

Equivalent parameter in read_excel(). The validation overview xlsx files contain some information in the first few lines of each sheet which need to be skipped in order to produce the correct header in R. Prior to reading the validation overview with read_validation_overview() it is likely a good idea to check how many lines need to be skipped. This parameter has been added because the amount of lines can differ between different versions of secuTrial.

Value

tibble with the 'Validation Overview' data

Examples

val_ovv_location <- system.file("extdata", "sT_exports", "BMD",
                                "bmd_validation_overview.xlsx",
                                package = "secuTrialR")
val_ovv <- read_validation_overview(data_dir = val_ovv_location)


secuTrialR documentation built on March 7, 2023, 5:35 p.m.