qc_wrapper: Quality Control - Wrapper Function

View source: R/qc_wrapper.R

qc_wrapperR Documentation

Quality Control - Wrapper Function

Description

A wrapper function to perform quality control for all on-the-ground (OTG) data "types" collected using the DASH protocol.

Usage

qc_wrapper(
  survey_df = NULL,
  cu_df = NULL,
  wood_df = NULL,
  jam_df = NULL,
  undercut_df = NULL,
  discharge_df = NULL,
  channel_unit_roll_qc = FALSE,
  redirect_output = FALSE,
  redirect_output_path = "qc_wrapper_output.txt",
  ...
)

Arguments

survey_df

data.frame containing the survey data (required to run qc_wrapper())

cu_df

data.frame containing the channel unit data (required to run qc_wrapper())

wood_df

data.frame containing the wood data

jam_df

data.frame containing the jam data

discharge_df

data.frame containing the discharge location data

channel_unit_roll_qc

should there be a quality control check on the roll-up to the channel unit scale, using the qc_rollup() function? Default is FALSE.

redirect_output

would you like to redirect the output messages from qc_wrapper() to a file instead of the R terminal? Default = FALSE.

redirect_output_path

a path and file name (e.g., .txt or .csv) to write the qc_wrapper output messages to if redirect_output = TRUE.

...

various other inputs to ⁠qc_*⁠ functions, if need to change from default values

discharge_meas_df

data.frame containing the discharge measurement data

Value

a tibble with combined QC results

Author(s)

Mike Ackerman


mackerman44/DASH documentation built on Sept. 5, 2024, 8:14 a.m.