summarize_and_clean_cbc: Summarize and clean the raw cbc data

Description Usage Arguments Value

View source: R/process-data.R

Description

Summarize and clean the raw cbc data

Usage

1
summarize_and_clean_cbc(raw_data, cbc_abnormals, cbc_vars)

Arguments

raw_data

the raw data tibble

cbc_abnormals,

a named list of functions of a single vector returning TRUE for abnormal values

cbc_vars,

the names of fields to include; others are excluded

Value

a list of five items; errorCode (nonzero if error), errorMessage if any, missing_value_df the missing value data tibble, the summary data tibble, the data tibble filtered with relevant columns for us


bnaras/SBCpip documentation built on May 5, 2019, 6:54 p.m.