dataPrep | R Documentation |
Performs unit conversions & daily data aggregations. Also checks native vs. target activities and fractions, dissolved vs. total value checks, river/stream depth & flow checks, and generates value based data flags.
dataPrep(
data,
translation_wb,
unit_sheetname = "unitConvTable",
crit_wb,
cf_formulas_sheetname,
startRow_unit = 1,
startRow_formulas = 1,
split_agg_tds = TRUE
)
data |
A merged, translated, and numeric criteria assigned WQP results R-object. Target units for conversions are defined by units associated with assigned numeric critera. |
translation_wb |
Full path and filename for IR translation workbook (.xlsx). |
unit_sheetname |
Name of sheet in workbook holding IR unit conversion table. Defaults to "unitConvTable". |
crit_wb |
Full path and filename for workbook containing criteria. |
cf_formulas_sheetname |
Name of sheet in criterion workbook holding conversion factors and criterion formulas for criteria dependent on CFs. |
startRow_unit |
Row to start reading the unit conversion table excel sheet from (in case headers have been added). Defaults to 1. |
startRow_formulas |
Row to start reading the formulas table from (in case headers have been added). Defaults to 1. |
split_agg_tds |
Logical. If TRUE (default) split off TDS records w/ function assigned in AsmntAggFun into separate output. If FALSE, these records are passed through to conventionals output. |
A list of objects ready for assessments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.