formMWRwqx {MassWateR} | R Documentation |
Format WQX metadata input
Description
Format WQX metadata input
Usage
formMWRwqx(wqxdat)
Arguments
wqxdat |
input data frame for wqx metadata |
Details
This function is used internally within readMWRwqx
to format the input data for downstream analysis. The formatting includes:
Convert characteristic names: All parameters in
Characteristic Name
are converted toSimple Parameter
inparamsMWR
as needed
Value
A formatted data frame of the WQX metadata file
Examples
library(dplyr)
wqxpth <- system.file('extdata/ExampleWQX.xlsx', package = 'MassWateR')
wqxdat <- suppressWarnings(readxl::read_excel(wqxpth, na = c('NA', 'na', ''), col_types = 'text'))
formMWRwqx(wqxdat)
[Package MassWateR version 2.1.4 Index]