initial_check: Check initial dataframe

Description Usage Arguments Value Examples

View source: R/checks.R

Description

Throws errors if the initial dataframe of pathogen level data from BioFire database. If check doesn't pass subsequent functions my break in unexpected ways. If error was encountered and then problem solved, run again to see if additional problems are encountered

Usage

1
initial_check(df, target_PouchTitle = "Respiratory_Panel")

Arguments

df

this is the raw dataframe to be fed into subsequent functions starting with the "pre_process"

target_PouchTitle

Name of the PouchTitle of interest–insures it is present.

Value

Either an error if problems are encountered, or "passed check" message

Examples

1
2
initial_check(rp_raw)
initial_check(rp_raw, target_PouchTitle = "Gastro_Intestinal")

MartinHoldrege/turnr documentation built on May 16, 2020, 10:39 a.m.