readWQPFiles: Read WQP Files

View source: R/readWQPFiles.R

readWQPFilesR Documentation

Read WQP Files

Description

Creates list object containing data frames needed to run irTools. Removes duplicates and creates objects containing orphan records. Identifies non-numeric values in numeric columns and allows user to edit values and save to new object.

Usage

readWQPFiles(
  file_select,
  narrowresult_file,
  sites_file,
  activity_file,
  detquantlim_file,
  orph_check = TRUE
)

Arguments

file_select

Logical. If TRUE, navigation window will pop up for manual selection of files. If FALSE, function requires full path names to files.

narrowresult_file

Full path and filename of narrowresult file queried from WQP to be reviewed (.csv).

sites_file

Full path and filename of sites file queried from WQP to be reviewed (.csv).

activity_file

Full path and filename of activity file queried from WQP to be reviewed (.csv).

detquantlim_file

Full path and filename of detquantlim file queried from WQP to be reviewed (.csv).

orph_check

Logical. Specifies whether function should perform orphan check between narrowresult and sites, activity, and detquantlim. If TRUE, produces list object containing orphan rows.

Value

List containing dataframes needed to run irTools package, as well as orphan records and edited non-numeric data tables.


ut-ir-tools/irTools documentation built on Jan. 19, 2024, 6:55 p.m.