formMWRwqx | R Documentation |
Format WQX metadata input
formMWRwqx(wqxdat)
wqxdat |
input data frame for wqx metadata |
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 to Simple Parameter
in paramsMWR
as needed
A formatted data frame of the WQX metadata file
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.