diff --git a/R/Figures.R b/R/Figures.R index ea064591..6ba83527 100644 --- a/R/Figures.R +++ b/R/Figures.R @@ -56,7 +56,12 @@ TADA_Boxplot <- function(.data, id_cols = c("TADA.ComparableDataIdentifier")) { TADA_CheckType(.data, "data.frame", "Input object") # ensure comparable data identifier is in the id_col vector - id_cols <- unique(c("TADA.ComparableDataIdentifier", id_cols)) + if(is.null(id_cols)){ + id_cols = "TADA.ComparableDataIdentifier" + } + if(!"TADA.ComparableDataIdentifier"%in%id_cols){ + print("TADA.ComparableDataIdentifier not found in id_cols argument and is highly recommended: plotting without it may produce errors in the plot.") + } # check .data has required columns TADA_CheckColumns(.data, id_cols) @@ -218,7 +223,12 @@ TADA_Histogram <- function(.data, id_cols = c("TADA.ComparableDataIdentifier")) TADA_CheckType(.data, "data.frame", "Input object") # ensure comparable data identifier is in the id_col vector - id_cols <- unique(c("TADA.ComparableDataIdentifier", id_cols)) + if(is.null(id_cols)){ + id_cols = "TADA.ComparableDataIdentifier" + } + if(!"TADA.ComparableDataIdentifier"%in%id_cols){ + print("TADA.ComparableDataIdentifier not found in id_cols argument and is highly recommended: plotting without it may produce errors in the plot.") + } # check .data has required columns TADA_CheckColumns(.data, id_cols) @@ -514,13 +524,19 @@ TADA_Scatterplot <- function(.data, id_cols = c("TADA.ComparableDataIdentifier") TADA_CheckType(.data, "data.frame", "Input object") # ensure comparable data identifier is in the id_col vector - id_cols <- unique(c("TADA.ComparableDataIdentifier", id_cols)) + if(is.null(id_cols)){ + id_cols = "TADA.ComparableDataIdentifier" + } + + if(!"TADA.ComparableDataIdentifier"%in%id_cols){ + print("TADA.ComparableDataIdentifier not found in id_cols argument and is highly recommended: plotting without it may produce errors in the plot.") + } # check .data has required columns TADA_CheckColumns(.data, id_cols) # check .data has required columns - TADA_CheckColumns(.data, c("TADA.ResultMeasureValue", "TADA.ResultMeasure.MeasureUnitCode")) + TADA_CheckColumns(.data, c("TADA.ResultMeasureValue", "TADA.ResultMeasure.MeasureUnitCode","ResultDepthHeightMeasure.MeasureValue", "ActivityStartDate", "ActivityStartTime.Time")) start <- dim(.data)[1] diff --git a/R/GenerateRefTables.R b/R/GenerateRefTables.R index dfe08bba..0fe9b172 100644 --- a/R/GenerateRefTables.R +++ b/R/GenerateRefTables.R @@ -715,6 +715,6 @@ TADA_UpdateMeasureQualifierCodeRef <- function() { #' @export TADA_GetNutrientSummationRef <- function() { - ref <- utils::read.csv(system.file("extdata", "Nsummation_key.csv", package = "TADA")) + ref <- utils::read.csv(system.file("extdata", "NPsummation_key.csv", package = "TADA")) return(ref) } diff --git a/R/Transformations.R b/R/Transformations.R index 513f0a70..7a2b1aaf 100644 --- a/R/Transformations.R +++ b/R/Transformations.R @@ -325,7 +325,7 @@ TADA_HarmonizeSynonyms <- function(.data, ref, np_speciation = TRUE) { #' Calculate Total Nitrogen and Phosphorus #' -#' This function uses the [Nutrient Aggregation logic](https://echo.epa.gov/trends/loading-tool/resources/nutrient-aggregation#nitrogen) +#' This function applies the [Nutrient Aggregation logic](https://echo.epa.gov/trends/loading-tool/resources/nutrient-aggregation#nitrogen) #' from ECHO's Water Pollutant Loading Tool to add nitrogen subspecies together #' to approximate a total nitrogen value on a single day at a single site. #' Before summing subspecies, this function runs TADA_AggregateMeasurements to @@ -334,9 +334,29 @@ TADA_HarmonizeSynonyms <- function(.data, ref, np_speciation = TRUE) { #' nitrogen subspecies expressed as nitrate, nitrite, ammonia, ammonium, etc. to #' as nitrogen based on the atomic weights of the different elements in the #' compound. The reference table is contained within the package but may be -#' edited/customized by users. Future development may include total P summations -#' as well. -#' +#' edited/customized by users. Nutrient equations are as follows: +#' +#' NITROGEN: +#' 1. TOTAL N (UNFILTERED) +#' 2. TOTAL N (FILTERED) + TOTAL N (PARTICULE) +#' 3. TOTAL KJELDAHL NITROGEN + NITRATE + NITRITE +#' 4. ORGANIC N + AMMONIA + NITRATE + NITRITE +#' 5. OTHER NITROGEN FORMS +#' +#' PHOSPHORUS: +#' 1. TOTAL PHOSPHORUS +#' 2. PHOSPHATE +#' 3. OTHER PHOSPHORUS FORMS +#' +#' Equations are applied in the order above. The function looks for groups of +#' nutrients that exactly match each equation before looking for every +#' combination within each equation (for example, a group of nitrogen subspecies +#' including AMMONIA and NITRATE will be passed over in an intial sweep of +#' groups of subspecies containing ORG N, AMMONIA, NITRATE, and NITRITE, but +#' will be caught as the function moves down the hierarchy of equations to fewer +#' and fewer subspecies). Eventually, even groups with only one subspecies will +#' be used to represent a TOTAL N value for that site/day/depth. +#' #' @param .data TADA dataframe, ideally harmonized using TADA_HarmonizeSynonyms. #' If user wants to consider grouping N or P subspecies across multiple #' organizations, user should have run TADA_FindNearbySites and grouped all @@ -402,13 +422,14 @@ TADA_CalculateTotalNP <- function(.data, sum_ref, daily_agg = c("max", "min", "m # join data to summation table and keep only those that match for summations sum_dat <- merge(dat, sum_ref, all.x = TRUE) - sum_dat <- subset(sum_dat, !is.na(sum_dat$SummationRank)) + sum_dat <- subset(sum_dat, !is.na(sum_dat$NutrientGroup)) ## REMINDER FOR TADA TEAM: NEED TO ENSURE ALL COMBOS PRESENT IN TABLE # If the join results in matching rows if (dim(sum_dat)[1] > 0) { thecols <- grpcols[!grpcols %in% c("TADA.ComparableDataIdentifier")] + # # find nearby sites # nearsites = unique(sum_dat[,c("MonitoringLocationIdentifier","TADA.LatitudeMeasure","TADA.LongitudeMeasure")]) # nearsites = TADA_FindNearbySites(nearsites) @@ -418,41 +439,31 @@ TADA_CalculateTotalNP <- function(.data, sum_ref, daily_agg = c("max", "min", "m sum_dat <- sum_dat %>% dplyr::group_by(dplyr::across(dplyr::all_of(thecols))) %>% dplyr::mutate(TADA.NutrientSummationGroup = dplyr::cur_group_id()) + + # bring in equations + eqns = utils::read.csv(system.file("extdata","NP_equations.csv", package = "TADA")) - # Create list of summation equations in order of preference, can also accommodate phosphorus - eqns <- list( - "N" = list( - N1 = "TOTAL N", - N2 = c("TKN", "NITRATE", "NITRITE"), - N2_a = c("TKN", "NITRATE + NITRITE"), - N3 = c("ORG N", "AMMON", "NITRATE", "NITRITE"), - N3_a = c("ORG N", "AMMON", "NITRATE + NITRITE"), - N4 = c("AMMON", "NITRATE", "NITRITE"), - N4_a = c("AMMON", "NITRATE + NITRITE") - ), - "P" = list( - P1 = c("PHOSP"), - P2 = c("PO4") - ) - ) # dataframe to hold results summeddata <- data.frame() grps <- vector() - for (i in 1:length(eqns)) { - eq <- eqns[[i]] - for (j in 1:length(eq)) { - eq1 <- eq[[j]] - nutrient <- ifelse(grepl("N", names(eq[j])), "Total Nitrogen as N", "Total Phosphorus as P") + for (i in 1:length(unique(eqns$Nutrient))) { + nut = unique(eqns$Nutrient)[i] + nutqns = subset(eqns, eqns$Nutrient==nut) + for (j in 1:length(unique(nutqns$EQN))) { + eqnum = unique(nutqns$EQN)[j] + eqn = subset(nutqns, nutqns$EQN==eqnum)$SummationName + nutrient <- ifelse(nut=="N", "Total Nitrogen as N", "Total Phosphorus as P") # for each equation, see if any groups contain all required subspecies, and for each pick the variant with the lowest rank. # combine group with other groups and remove group ID from consideration for the next equation out <- sum_dat %>% dplyr::filter(!TADA.NutrientSummationGroup %in% grps) %>% dplyr::group_by(TADA.NutrientSummationGroup) %>% - dplyr::filter(all(eq1 %in% SummationName)) %>% - dplyr::filter(SummationName %in% eq1) %>% - dplyr::mutate(TADA.NutrientSummationEquation = paste0(eq1, collapse = " + ")) + dplyr::filter(all(eqn %in% SummationName)) %>% # this line ensures that ALL subspecies are present within an equation group, not just one or more + dplyr::filter(SummationName %in% eqn) %>% + dplyr::mutate(TADA.NutrientSummationEquation = paste0(unique(SummationName), collapse = " + ")) + out <- out %>% dplyr::group_by(TADA.NutrientSummationGroup, SummationName) %>% dplyr::slice_min(SummationRank, with_ties = FALSE) @@ -493,7 +504,7 @@ TADA_CalculateTotalNP <- function(.data, sum_ref, daily_agg = c("max", "min", "m # combine all data back into input dataset and get rid of unneeded columns .data <- merge(.data, summeddata, all.x = TRUE) .data <- plyr::rbind.fill(.data, Totals) - .data <- .data %>% dplyr::select(-c(SummationFractionNotes, SummationSpeciationNotes, SummationSpeciationConversionFactor, SummationName, SummationRank, SummationNote, nutrient)) + .data <- .data %>% dplyr::select(-c(SummationFractionNotes, SummationSpeciationNotes, SummationSpeciationConversionFactor, SummationName, SummationRank, SummationNote, nutrient, NutrientGroup)) .data$TADA.NutrientSummation.Flag[is.na(.data$TADA.NutrientSummation.Flag)] <- "Not used to calculate Total N or P." } else { # if there are no data to sum diff --git a/inst/extdata/NP_equations.csv b/inst/extdata/NP_equations.csv new file mode 100644 index 00000000..d8b243b5 --- /dev/null +++ b/inst/extdata/NP_equations.csv @@ -0,0 +1,47 @@ +Nutrient,EQN,SummationName +N,0,TOTAL N (UNFILTERED) +N,1,TOTAL N (FILTERED) +N,1,TOTAL N (PARTICLE) +N,2,TKN +N,2,NITRATE +N,2,NITRITE +N,3,TKN +N,3,NITRATE + NITRITE +N,4,ORG N +N,4,AMMON +N,4,NITRATE +N,4,NITRITE +N,5,ORG N +N,5,AMMON +N,5,NITRATE + NITRITE +N,6,AMMON +N,6,NITRATE +N,6,NITRITE +N,7,AMMON +N,7,NITRATE + NITRITE +N,8,TKN +N,8,NITRATE +N,9,TKN +N,9,NITRITE +N,10,ORG N +N,10,AMMON +N,11,ORG N +N,11,NITRATE +N,12,ORG N +N,12,NITRITE +N,13,ORG N +N,13,NITRATE + NITRITE +N,14,AMMON +N,14,NITRATE +N,15,AMMON +N,15,NITRITE +N,16,TKN +N,17,NITRATE +N,18,NITRITE +N,19,NITRATE + NITRITE +N,20,AMMON +N,21,ORG N +N,22,OTHER N +P,1,PHOSP +P,2,PO4 +P,3,OTHER P diff --git a/inst/extdata/NPsummation_key.csv b/inst/extdata/NPsummation_key.csv new file mode 100644 index 00000000..8c0cd01f --- /dev/null +++ b/inst/extdata/NPsummation_key.csv @@ -0,0 +1,253 @@ +TADA.ActivityMediaName,TADA.CharacteristicName,TADA.ResultSampleFractionText,SummationFractionNotes,TADA.MethodSpecificationName,SummationSpeciationNotes,SummationSpeciationConversionFactor,SummationName,SummationRank,SummationNote,NutrientGroup +WATER,AMMONIA,DISSOLVED,NA,AS N,NA,NA,AMMON,9,NA,Nitrogen +WATER,AMMONIA,DISSOLVED,NA,AS NH3,Convert NH3 to N,0.822,AMMON,9,NA,Nitrogen +WATER,AMMONIA,DISSOLVED,NA,AS NH4,Convert NH4 to N,0.776,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIA,DISSOLVED,NA,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,AMMONIA,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,9,NA,Nitrogen +WATER,AMMONIA,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS NH3,Convert NH3 to N,0.822,AMMON,9,NA,Nitrogen +WATER,AMMONIA,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,9,NA,Nitrogen +WATER,AMMONIA,FILTERED,Assume filtered/filterable equals dissolved fraction,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,AMMONIA,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,9,NA,Nitrogen +WATER,AMMONIA,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,9,NA,Nitrogen +WATER,AMMONIA,INORGANIC,NA,AS N,NA,NA,OTHER N,999,"Not used, cannot infer fraction from ""INORGANIC"".",Nitrogen +WATER,AMMONIA,NA,NA,AS N,NA,NA,OTHER N,999,"Not used, fraction not reported and could not be inferred",Nitrogen +WATER,AMMONIA,NA,NA,AS NH3,Convert NH3 to N,0.822,OTHER N,999,"Not used, fraction not reported and could not be inferred",Nitrogen +WATER,AMMONIA,SUPERNATE,NA,AS N,NA,NA,OTHER N,999,"Not used, do not know how to deal with fraction SUPERNATE",Nitrogen +WATER,AMMONIA,TOTAL,NA,AS N,NA,NA,AMMON,1,NA,Nitrogen +WATER,AMMONIA,TOTAL,NA,AS NH3,Convert NH3 to N,0.822,AMMON,5,NA,Nitrogen +WATER,AMMONIA,TOTAL,NA,AS NH4,Convert NH4 to N,0.776,AMMON,11,NA,Nitrogen +WATER,AMMONIA,TOTAL,NA,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,AMMONIA,TOTAL RECOVERABLE,Assumes Total Recoverable is equivalent to Total.,AS N,NA,NA,AMMON,1,NA,Nitrogen +WATER,AMMONIA,TOTAL SOLUBLE,Assume filtered/filterable equals dissolved fraction,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,AMMONIA,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,AMMON,1,NA,Nitrogen +WATER,AMMONIA,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS NH3,Convert NH3 to N,0.822,AMMON,5,NA,Nitrogen +WATER,AMMONIA,UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,AMMONIA AND AMMONIUM,DISSOLVED,NA,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIA AND AMMONIUM,DISSOLVED,NA,AS NH4,Convert NH4 to N,0.776,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIA AND AMMONIUM,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,9,NA,Nitrogen +WATER,AMMONIA AND AMMONIUM,TOTAL,NA,AS N,NA,NA,AMMON,10,NA,Nitrogen +WATER,AMMONIA AND AMMONIUM,TOTAL,NA,AS NH4,Convert NH4 to N,0.776,AMMON,11,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIA-NITROGEN,DISSOLVED,NA,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIA-NITROGEN,DISSOLVED,NA,AS NH3,Convert NH3 to N,0.822,AMMON,9,NA,Nitrogen +WATER,AMMONIA-NITROGEN,DISSOLVED,NA,AS NH4,Convert NH4 to N,0.776,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIA-NITROGEN,DISSOLVED,NA,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,AMMONIA-NITROGEN,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIA-NITROGEN,NA,NA,AS N,NA,NA,OTHER N,999,"Not used, fraction not reported and could not be inferred",Nitrogen +WATER,AMMONIA-NITROGEN,NA,NA,AS NH3,Convert NH3 to N,0.822,OTHER N,999,"Not used, fraction not reported and could not be inferred",Nitrogen +WATER,AMMONIA-NITROGEN,SUPERNATE,NA,AS N,NA,NA,OTHER N,999,"Not used, do not know how to deal with fraction SUPERNATE",Nitrogen +WATER,AMMONIA-NITROGEN,TOTAL,NA,AS N,NA,NA,AMMON,1,NA,Nitrogen +WATER,AMMONIA-NITROGEN,TOTAL,NA,AS NH3,Convert NH3 to N,0.822,AMMON,5,NA,Nitrogen +WATER,AMMONIA-NITROGEN,TOTAL,NA,NA,Assumed as N,NA,AMMON,2,NA,Nitrogen +WATER,AMMONIA-NITROGEN,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,AMMON,2,NA,Nitrogen +WATER,AMMONIUM,DISSOLVED,NA,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIUM,DISSOLVED,NA,AS NH4,Convert NH4 to N,0.776,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIUM,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS NH4,Convert NH4 to N,0.776,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIUM,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIUM,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIUM,TOTAL,NA,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,AMMONIUM,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,AMMON,11,NA,Nitrogen +WATER,AMMONIUM ,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,AMMONIUM ,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITROGEN,TOTAL,Assumes Total fraction means Total N derived from multiple N subspecies,AS N,NA,NA,TOTAL N (UNFILTERED),1,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,INORGANIC NITROGEN (NITRATE & NITRITE),DISSOLVED,NA,AS N,NA,NA,NITRATE + NITRITE,3,NA,Nitrogen +WATER,INORGANIC NITROGEN (NITRATE AND NITRITE),DISSOLVED,NA,AS N,NA,NA,NITRATE + NITRITE,3,NA,Nitrogen +WATER,INORGANIC NITROGEN (NITRATE AND NITRITE),NA,NA,AS N,NA,NA,OTHER N,999,"Not used, fraction not reported and could not be inferred",Nitrogen +WATER,INORGANIC NITROGEN (NITRATE AND NITRITE),TOTAL,NA,AS N,NA,NA,NITRATE + NITRITE,1,NA,Nitrogen +WATER,NITROGEN,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,TOTAL N (UNFILTERED),1,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,"NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",TOTAL,Assumes Total fraction means Total N derived from multiple N subspecies,AS N,NA,NA,TOTAL N (UNFILTERED),1,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS",NA,Assumes Total fraction means Total N derived from multiple N subspecies,AS N,NA,NA,TOTAL N (UNFILTERED),1,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS",TOTAL,NA,AS N,NA,NA,TOTAL N (UNFILTERED),1,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,INORGANIC PHOSPHORUS,FILTERED,Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,INORGANIC PHOSPHORUS,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,KJELDAHL NITROGEN,DISSOLVED,NA,AS N,NA,NA,TKN,7,NA,Nitrogen +WATER,KJELDAHL NITROGEN,DISSOLVED,NA,NA,Assumed as N,NA,TKN,7,NA,Nitrogen +WATER,KJELDAHL NITROGEN,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TKN,7,NA,Nitrogen +WATER,KJELDAHL NITROGEN,NA,NA,NA,Assumed as N,NA,TKN,4,NA,Nitrogen +WATER,KJELDAHL NITROGEN,TOTAL,NA,AS N,NA,NA,TKN,1,NA,Nitrogen +WATER,KJELDAHL NITROGEN,TOTAL,NA,AS NH4,Convert NH4 to N,0.776,TKN,8,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,KJELDAHL NITROGEN,TOTAL,NA,NA,Assumed as N,NA,TKN,2,NA,Nitrogen +WATER,KJELDAHL NITROGEN,TOTAL RECOVERABLE,NA,AS N,NA,NA,TKN,6,NA,Nitrogen +WATER,KJELDAHL NITROGEN,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,TKN,1,NA,Nitrogen +WATER,NITRATE,ACID SOLUBLE,Assumes acid soluble equals the dissolved fraction,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,NITRATE,DISSOLVED,NA,AS N,NA,NA,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITRATE,DISSOLVED,NA,AS NO3,Convert NO3 to N,0.225,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITRATE,DISSOLVED,NA,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,NITRATE,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS NO3,Convert NO3 to N,0.225,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITRATE,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITRATE,FILTERED,Assume filtered/filterable equals dissolved fraction,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,NITRATE,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITRATE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITRATE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS NO3,Convert NO3 to N,0.225,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITRATE,INORGANIC,NA,AS N,NA,NA,OTHER N,999,"Not used, cannot infer fraction from ""INORGANIC"".",Nitrogen +WATER,NITRATE,INORGANIC,NA,AS NO3,Convert NO3 to N,0.225,OTHER N,999,"Not used, cannot infer fraction from ""INORGANIC"".",Nitrogen +WATER,NITRATE,NA,NA,AS N,NA,NA,OTHER N,999,"Not used, fraction not reported and could not be inferred",Nitrogen +WATER,NITRATE,NA,NA,AS NO3,Convert NO3 to N,0.225,OTHER N,999,"Not used, fraction not reported and could not be inferred",Nitrogen +WATER,NITRATE,TOTAL,NA,AS N,NA,NA,NITRATE,1,NA,Nitrogen +WATER,NITRATE,TOTAL,NA,AS NO3,Convert NO3 to N,0.225,NITRATE,2,NA,Nitrogen +WATER,NITRATE,TOTAL,NA,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,NITRATE,TOTAL RECOVERABLE,NA,AS N,NA,NA,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITRATE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,NITRATE,1,NA,Nitrogen +WATER,NITRATE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS NO3,Convert NO3 to N,0.225,NITRATE,2,NA,Nitrogen +WATER,NITRATE,UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,NITRATE + NITRITE,DISSOLVED,NA,AS N,NA,NA,NITRATE + NITRITE,3,NA,Nitrogen +WATER,NITRATE + NITRITE,DISSOLVED,NA,NA,Assumed as N,NA,NITRATE + NITRITE,3,NA,Nitrogen +WATER,NITRATE + NITRITE,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE + NITRITE,3,NA,Nitrogen +WATER,NITRATE + NITRITE,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE + NITRITE,3,NA,Nitrogen +WATER,NITRATE + NITRITE,FILTERED,Assume filtered/filterable equals dissolved fraction,AS NO2+NO3,NA,NA,OTHER N,999,"Not used, speciation is ambiguous",Nitrogen +WATER,NITRATE + NITRITE,FILTERED,Assume filtered/filterable equals dissolved fraction,NA,Assumed as N,NA,NITRATE + NITRITE,3,NA,Nitrogen +WATER,NITRATE + NITRITE,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE + NITRITE,3,NA,Nitrogen +WATER,NITRATE + NITRITE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE + NITRITE,3,NA,Nitrogen +WATER,NITRATE + NITRITE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS NO2+NO3,NA,NA,OTHER N,999,"Not used, speciation is ambiguous",Nitrogen +WATER,NITRATE + NITRITE,INORGANIC,NA,AS N,NA,NA,OTHER N,999,"Not used, cannot infer fraction from ""INORGANIC"".",Nitrogen +WATER,NITRATE + NITRITE,NA,NA,AS N,NA,NA,OTHER N,999,"Not used, fraction not reported and could not be inferred",Nitrogen +WATER,NITRATE + NITRITE,NA,NA,NA,Assumed as N,NA,OTHER N,999,"Not used, fraction not reported and could not be inferred",Nitrogen +WATER,NITRATE + NITRITE,TOTAL,NA,AS N,NA,NA,NITRATE + NITRITE,1,NA,Nitrogen +WATER,NITRATE + NITRITE,TOTAL,NA,NA,Assumed as N,NA,NITRATE + NITRITE,1,NA,Nitrogen +WATER,NITRATE + NITRITE,TOTAL RECOVERABLE,NA,AS N,NA,NA,NITRATE + NITRITE,2,NA,Nitrogen +WATER,NITRATE + NITRITE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,NITRATE + NITRITE,1,NA,Nitrogen +WATER,NITRATE + NITRITE,UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,Assumed as N,NA,NITRATE + NITRITE,1,NA,Nitrogen +WATER,NITRITE,DISSOLVED,NA,AS N,NA,NA,NITRITE,3,NA,Nitrogen +WATER,NITRITE,DISSOLVED,NA,AS NO2,Convert NO2 to N,0.304,NITRITE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITRITE,DISSOLVED,NA,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,NITRITE,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRITE,3,NA,Nitrogen +WATER,NITRITE,FILTERED,Assume filtered/filterable equals dissolved fraction,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,NITRITE,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRITE,3,NA,Nitrogen +WATER,NITRITE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRITE,3,NA,Nitrogen +WATER,NITRITE,INORGANIC,NA,AS N,NA,NA,OTHER N,999,"Not used, cannot infer fraction from ""INORGANIC"".",Nitrogen +WATER,NITRITE,NA,NA,AS N,NA,NA,OTHER N,999,"Not used, fraction not reported and could not be inferred",Nitrogen +WATER,NITRITE,NA,NA,AS NO2,Convert NO2 to N,0.304,OTHER N,999,"Not used, fraction not reported and could not be inferred",Nitrogen +WATER,NITRITE,TOTAL,NA,AS N,NA,NA,NITRITE,1,NA,Nitrogen +WATER,NITRITE,TOTAL,NA,AS NO2,Convert NO2 to N,0.304,NITRITE,4,NA,Nitrogen +WATER,NITRITE,TOTAL,NA,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,NITRITE,TOTAL RECOVERABLE,NA,AS N,NA,NA,NITRITE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITRITE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,NITRITE,1,NA,Nitrogen +WATER,NITRITE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS NO2,Convert NO2 to N,0.304,NITRITE,4,NA,Nitrogen +WATER,NITRITE,UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,NA,NA,OTHER N,999,"Not used, speciation not reported and could not be inferred",Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS",UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,TOTAL N (UNFILTERED),1,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITROGEN,DISSOLVED,NA,AS NO3,Convert NO3 to N,0.225,NITRATE,2,NA,Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS",UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,Assumed as N,NA,TOTAL N (UNFILTERED),1,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",NA,Assumes Total fraction means Total N derived from multiple N subspecies,AS N,NA,NA,TOTAL N (UNFILTERED),1,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",TOTAL,NA,AS N,NA,NA,TOTAL N (UNFILTERED),1,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITROGEN,NON-FILTERABLE (PARTICLE),NA,AS N,NA,NA,TOTAL N (PARTICLE),5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITROGEN,TOTAL,Assumes Total fraction means Total N derived from multiple N subspecies,NA,Assumed as N,NA,TOTAL N (UNFILTERED),2,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,"NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",TOTAL,Assumes Total fraction means Total N derived from multiple N subspecies,NA,Assumed as N,NA,TOTAL N (UNFILTERED),2,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS",NA,Assumes Total fraction means Total N derived from multiple N subspecies,NA,Assumed as N,NA,TOTAL N (UNFILTERED),2,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,NITROGEN,DISSOLVED,NA,AS N,NA,NA,TOTAL N (FILTERED),3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet,Nitrogen +WATER,NITROGEN KJELDAHL,DISSOLVED,NA,AS N,NA,NA,TKN,7,NA,Nitrogen +WATER,NITROGEN KJELDAHL,TOTAL,NA,AS N,NA,NA,TKN,1,NA,Nitrogen +WATER,NITROGEN,DISSOLVED,NA,NA,Assumed as N,NA,TOTAL N (FILTERED),3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet,Nitrogen +WATER,NITROGEN,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TOTAL N (FILTERED),3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet,Nitrogen +WATER,NITROGEN,SUSPENDED,NA,NA,Assumed as N,NA,TOTAL N (PARTICLE),3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet,Nitrogen +WATER,"NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",TOTAL,Assumes Total fraction means Total N derived from multiple N subspecies,AS NO3,Convert NO3 to N,0.225,NITRATE,3,NA,Nitrogen +WATER,"NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",DISSOLVED,NA,AS N,NA,NA,TOTAL N (FILTERED),3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet,Nitrogen +WATER,NUTRIENT-NITROGEN,NA,Assumes Total fraction means Total N derived from multiple N subspecies,AS N,NA,NA,OTHER N,999,"Not used, metadata not specific enough for summation",Nitrogen +WATER,ORGANIC NITROGEN,DISSOLVED,NA,AS N,NA,NA,ORG N,2,NA,Nitrogen +WATER,ORGANIC NITROGEN,DISSOLVED,NA,NA,Assumed as N,NA,ORG N,2,NA,Nitrogen +WATER,ORGANIC NITROGEN,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,ORG N,2,NA,Nitrogen +WATER,ORGANIC NITROGEN,NON-FILTERABLE (PARTICLE),NA,AS N,NA,NA,ORG N,3,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,ORGANIC NITROGEN,ORGANIC,NA,AS N,NA,NA,OTHER N,999,"Not used, cannot infer fraction from ORGANIC",Nitrogen +WATER,ORGANIC NITROGEN,TOTAL,NA,AS N,NA,NA,ORG N,1,NA,Nitrogen +WATER,ORGANIC NITROGEN,TOTAL,NA,NA,Assumed as N,NA,ORG N,1,NA,Nitrogen +WATER,ORGANIC NITROGEN,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,ORG N,1,NA,Nitrogen +WATER,ORGANIC PHOSPHORUS,DISSOLVED,NA,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,ORGANIC PHOSPHORUS,FILTERED,Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,ORGANIC PHOSPHORUS,TOTAL,NA,AS P,NA,NA,PHOSP,4,NA,Phosphorus +WATER,ORGANIC PHOSPHORUS,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS P,NA,NA,PHOSP,4,NA,Phosphorus +WATER,ORTHOPHOSPHATE,DISSOLVED,NA,AS P,NA,NA,OTHER P,999,NA,Phosphorus +WATER,ORTHOPHOSPHATE,DISSOLVED,NA,AS PO4,Convert AS PO4 to AS P,0.326,PO4,2,NA,Phosphorus +WATER,ORTHOPHOSPHATE,DISSOLVED,NA,NA,Assumed as P,NA,OTHER P,999,"Not used, speciation missing and could not be inferred",Phosphorus +WATER,ORTHOPHOSPHATE,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,ORTHOPHOSPHATE,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS PO4,Convert AS PO4 to AS P,0.326,PO4,2,NA,Phosphorus +WATER,ORTHOPHOSPHATE,FILTERED,Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,ORTHOPHOSPHATE,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,ORTHOPHOSPHATE,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS PO4,Convert AS PO4 to AS P,0.326,PO4,2,NA,Phosphorus +WATER,ORTHOPHOSPHATE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,ORTHOPHOSPHATE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS PO4,Convert AS PO4 to AS P,0.326,PO4,2,NA,Phosphorus +WATER,ORTHOPHOSPHATE,INORGANIC,NA,AS P,NA,NA,OTHER P,999,"Not used, cannot infer fraction from ""INORGANIC"".",Phosphorus +WATER,ORTHOPHOSPHATE,NA,NA,AS P,NA,NA,OTHER P,999,"Not used, fraction not reported and could not be inferred",Phosphorus +WATER,ORTHOPHOSPHATE,NON-FILTERABLE (PARTICLE),NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,ORTHOPHOSPHATE,TOTAL,NA,AS P,NA,NA,PHOSP,3,NA,Phosphorus +WATER,ORTHOPHOSPHATE,TOTAL,NA,AS PO4,Convert AS PO4 to AS P,0.326,PO4,2,NA,Phosphorus +WATER,ORTHOPHOSPHATE,TOTAL,NA,NA,NA,NA,OTHER P,999,"Not used, speciation missing and could not be inferred",Phosphorus +WATER,ORTHOPHOSPHATE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS P,NA,NA,PHOSP,3,NA,Phosphorus +WATER,ORTHOPHOSPHATE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS PO4,Convert AS PO4 to AS P,0.326,PO4,2,NA,Phosphorus +WATER,PARTICULATE ORGANIC NITROGEN AND PARTICULATE NITROGEN,NA,NA,AS N,NA,NA,OTHER N,999,"Not used, not present in any of the equations.",Nitrogen +WATER,PARTICULATE ORGANIC NITROGEN AND PARTICULATE NITROGEN,NA,NA,NA,Assumed as N,NA,OTHER N,999,"Not used, not present in any of the equations.",Nitrogen +WATER,PHOSPHATE,DISSOLVED,NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,PHOSPHATE,DISSOLVED,NA,NA,Assumed as P,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,PHOSPHATE,FILTERED,Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,PHOSPHATE,NA,NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,PHOSPHATE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,PHOSPHATE-PHOSPHORUS,DISSOLVED,NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,PHOSPHATE-PHOSPHORUS,DISSOLVED,NA,NA,Assumed as P,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,PHOSPHATE-PHOSPHORUS,NA,NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,PHOSPHATE-PHOSPHORUS,NA,NA,NA,Assumed as P,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,PHOSPHATE-PHOSPHORUS,TOTAL,NA,AS P,NA,NA,PHOSP,7,NA,Phosphorus +WATER,PHOSPHATE-PHOSPHORUS,TOTAL,NA,NA,Assumed as P,NA,PHOSP,7,NA,Phosphorus +WATER,PHOSPHORUS,ACID SOLUBLE,NA,NA,Assumed as P,NA,PHOSP,6,NA,Phosphorus +WATER,PHOSPHORUS,DISSOLVED,NA,AS P,NA,NA,PHOSP,6,NA,Phosphorus +WATER,PHOSPHORUS,DISSOLVED,NA,AS PO4,Convert AS PO4 to AS P,0.326,PO4,6,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,PHOSPHORUS,INORGANIC,NA,AS P,NA,NA,OTHER P,999,"Not used, cannot infer fraction from ""INORGANIC"".",Phosphorus +WATER,PHOSPHORUS,NA,NA,AS P,NA,NA,OTHER P,999,"Not used, fraction not reported and could not be inferred",Phosphorus +WATER,PHOSPHORUS,NA,NA,NA,Assumed as P,NA,OTHER P,999,"Not used, fraction not reported and could not be inferred",Phosphorus +WATER,PHOSPHORUS,NON-FILTERABLE (PARTICLE),NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,PHOSPHORUS,NON-FILTERABLE (PARTICLE),NA,AS PO4,Convert AS PO4 to AS P,0.326,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,PHOSPHORUS,SUSPENDED,NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,PHOSPHORUS,TOTAL,NA,AS P,NA,NA,PHOSP,1,NA,Phosphorus +WATER,PHOSPHORUS,TOTAL,NA,AS PO4,Convert AS PO4 to AS P,0.326,PO4,1,NA,Phosphorus +WATER,PHOSPHORUS,TOTAL,NA,NA,Assumed as P,NA,PHOSP,2,NA,Phosphorus +WATER,PHOSPHORUS,TOTAL RECOVERABLE,NA,AS P,NA,NA,PHOSP,5,NA,Phosphorus +WATER,PHOSPHORUS,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS P,NA,NA,PHOSP,1,NA,Phosphorus +WATER,"PHOSPHORUS, HYDROLYZABLE",TOTAL,NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,"PHOSPHORUS, PARTICULATE ORGANIC",NA,NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,"PHOSPHORUS, PARTICULATE ORGANIC",NON-FILTERABLE (PARTICLE),NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,"PHOSPHORUS, PARTICULATE ORGANIC",SUSPENDED,NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,POLYPHOSPHATE,DISSOLVED,NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,POLYPHOSPHATE,NON-FILTERABLE (PARTICLE),NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,POLYPHOSPHATE,TOTAL,NA,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,SOLUBLE REACTIVE PHOSPHORUS (SRP),DISSOLVED,NA,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but given rank anyway. See: https://www.nalms.org/secchidipin/monitoring-methods/phosphorus/",Phosphorus +WATER,SOLUBLE REACTIVE PHOSPHORUS (SRP),"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but given rank anyway. See: https://www.nalms.org/secchidipin/monitoring-methods/phosphorus/",Phosphorus +WATER,SOLUBLE REACTIVE PHOSPHORUS (SRP),"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but given rank anyway. See: https://www.nalms.org/secchidipin/monitoring-methods/phosphorus/",Phosphorus +WATER,SOLUBLE REACTIVE PHOSPHORUS (SRP),NA,NA,AS P,NA,NA,OTHER P,999,"Not explicity included in Nutrient Aggregation Sheet, but given rank anyway. See: https://www.nalms.org/secchidipin/monitoring-methods/phosphorus/",Phosphorus +WATER,SOLUBLE REACTIVE PHOSPHORUS (SRP),TOTAL,NA,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but given rank anyway. See: https://www.nalms.org/secchidipin/monitoring-methods/phosphorus/",Phosphorus +WATER,TOTAL KJELDAHL NITROGEN,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TKN,7,NA,Nitrogen +WATER,TOTAL KJELDAHL NITROGEN,NA,Assume fraction is total,AS N,NA,NA,TKN,1,NA,Nitrogen +WATER,TOTAL KJELDAHL NITROGEN,NA,Assume fraction is total,NA,Assumed as N,NA,TKN,8,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,TOTAL KJELDAHL NITROGEN,TOTAL,NA,AS N,NA,NA,TKN,1,NA,Nitrogen +WATER,TOTAL KJELDAHL NITROGEN,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,TKN,1,NA,Nitrogen +WATER,TOTAL KJELDAHL NITROGEN,UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,Assumed as N,NA,TKN,2,NA,Nitrogen +WATER,TOTAL KJELDAHL NITROGEN (ORGANIC N & NH3),DISSOLVED,NA,AS N,NA,NA,TKN,7,NA,Nitrogen +WATER,TOTAL KJELDAHL NITROGEN (ORGANIC N & NH3),FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TKN,7,NA,Nitrogen +WATER,TOTAL KJELDAHL NITROGEN (ORGANIC N & NH3),"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TKN,7,NA,Nitrogen +WATER,TOTAL KJELDAHL NITROGEN (ORGANIC N & NH3),TOTAL,NA,AS N,NA,NA,TKN,1,NA,Nitrogen +WATER,TOTAL KJELDAHL NITROGEN (ORGANIC N & NH3),TOTAL,NA,NA,Assumed as N,NA,TKN,2,NA,Nitrogen +WATER,TOTAL KJELDAHL NITROGEN (ORGANIC N & NH3),UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,TKN,1,NA,Nitrogen +WATER,"NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",DISSOLVED,NA,NA,Assumed as N,NA,TOTAL N (FILTERED),3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet,Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS",DISSOLVED,NA,AS N,NA,NA,TOTAL N (FILTERED),3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet,Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS",FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TOTAL N (FILTERED),3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet,Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS","FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TOTAL N (FILTERED),3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet,Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS","FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TOTAL N (FILTERED),3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet,Nitrogen +WATER,"INORGANIC NITROGEN (AMMONIA, NITRATE AND NITRITE)",DISSOLVED,NA,AS N,NA,NA,TOTAL N (FILTERED),4,Contains all elements of Equation 4 of Nutrient Aggregation Sheet,Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS",NON-FILTERABLE (PARTICLE),NA,AS N,NA,NA,TOTAL N (PARTICLE),5,"Not used, not present in any of the equations.",Nitrogen +WATER,"INORGANIC NITROGEN (NO2, NO3, & NH3)",DISSOLVED,NA,AS N,NA,NA,TOTAL N (FILTERED),4,Contains all elements of Equation 4 of Nutrient Aggregation Sheet,Nitrogen +WATER,"INORGANIC NITROGEN (NO2, NO3, & NH3)",FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TOTAL N (FILTERED),4,Contains all elements of Equation 4 of Nutrient Aggregation Sheet,Nitrogen +WATER,"INORGANIC NITROGEN (NO2, NO3, & NH3)",TOTAL,NA,AS N,NA,NA,TOTAL N (UNFILTERED),4,Contains all elements of Equation 4 of Nutrient Aggregation Sheet,Nitrogen +WATER,"INORGANIC NITROGEN (NO2, NO3, & NH3)",UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,TOTAL N (UNFILTERED),4,Contains all elements of Equation 4 of Nutrient Aggregation Sheet,Nitrogen +WATER,NITROGEN,INORGANIC,NA,AS N,NA,NA,TOTAL N (FILTERED),4,"Assume same as INORGANIC NITROGEN (NO3, NO2, NH4) variants.",Nitrogen +WATER,"TOTAL NITROGEN, MIXED FORMS",TOTAL RECOVERABLE,NA,AS N,NA,NA,TOTAL N (UNFILTERED),4,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Nitrogen +WATER,TOTAL PARTICULATE NITROGEN,NA,Assumes Total fraction means Total N derived from multiple N subspecies,AS N,NA,NA,ORG N,1,Assume synonymous with Pcode 00605 in Nutrient Aggregation Sheet,Nitrogen +WATER,"TOTAL PHOSPHORUS, MIXED FORMS",DISSOLVED,NA,AS P,NA,NA,PHOSP,6,NA,Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS",DISSOLVED,NA,NA,Assumed as P,NA,PHOSP,6,NA,Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS",FILTERED,Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,6,NA,Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS","FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,6,NA,Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS","FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,6,NA,Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS","FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS PO4,Convert AS PO4 to AS P,0.326,PHOSP,8,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS",NA,Assume fraction is total,AS P,NA,NA,PHOSP,1,NA,Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS",NA,Assume fraction is total,NA,Assumed as P,NA,PHOSP,1,NA,Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS",NON-FILTERABLE (PARTICLE),NA,AS P,NA,NA,OTHER P,999,"Not used, not present in any of the equations.",Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS",TOTAL,NA,AS P,NA,NA,PHOSP,1,NA,Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS",TOTAL,NA,AS PO4,Convert AS PO4 to AS P,0.326,PO4,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS",TOTAL,NA,NA,Assumed as P,NA,PHOSP,2,NA,Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS",UNFILTERED,Assumes Unfiltered is equivalent to Total,AS P,NA,NA,PHOSP,1,NA,Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS",UNFILTERED,Assumes Unfiltered is equivalent to Total,AS PO4,Convert AS PO4 to AS P,0.326,PO4,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested.",Phosphorus +WATER,"TOTAL PHOSPHORUS, MIXED FORMS",UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,Assumed as P,NA,PHOSP,2,NA,Phosphorus diff --git a/inst/extdata/Nsummation_key.csv b/inst/extdata/Nsummation_key.csv deleted file mode 100644 index 675c6656..00000000 --- a/inst/extdata/Nsummation_key.csv +++ /dev/null @@ -1,253 +0,0 @@ -TADA.ActivityMediaName,TADA.CharacteristicName,TADA.ResultSampleFractionText,SummationFractionNotes,TADA.MethodSpecificationName,SummationSpeciationNotes,SummationSpeciationConversionFactor,SummationName,SummationRank,SummationNote -WATER,AMMONIA,DISSOLVED,NA,AS N,NA,NA,AMMON,9,NA -WATER,AMMONIA,DISSOLVED,NA,AS NH3,Convert NH3 to N,0.822,AMMON,9,NA -WATER,AMMONIA,DISSOLVED,NA,AS NH4,Convert NH4 to N,0.776,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIA,DISSOLVED,NA,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,AMMONIA,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,9,NA -WATER,AMMONIA,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS NH3,Convert NH3 to N,0.822,AMMON,9,NA -WATER,AMMONIA,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,9,NA -WATER,AMMONIA,FILTERED,Assume filtered/filterable equals dissolved fraction,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,AMMONIA,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,9,NA -WATER,AMMONIA,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,9,NA -WATER,AMMONIA,INORGANIC,NA,AS N,NA,NA,NA,NA,"Not used, cannot infer fraction from ""INORGANIC""." -WATER,AMMONIA,NA,NA,AS N,NA,NA,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,AMMONIA,NA,NA,AS NH3,Convert NH3 to N,0.822,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,AMMONIA,SUPERNATE,NA,AS N,NA,NA,NA,NA,"Not used, do not know how to deal with fraction SUPERNATE" -WATER,AMMONIA,TOTAL,NA,AS N,NA,NA,AMMON,1,NA -WATER,AMMONIA,TOTAL,NA,AS NH3,Convert NH3 to N,0.822,AMMON,5,NA -WATER,AMMONIA,TOTAL,NA,AS NH4,Convert NH4 to N,0.776,AMMON,11,NA -WATER,AMMONIA,TOTAL,NA,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,AMMONIA,TOTAL RECOVERABLE,Assumes Total Recoverable is equivalent to Total.,AS N,NA,NA,AMMON,1,NA -WATER,AMMONIA,TOTAL SOLUBLE,Assume filtered/filterable equals dissolved fraction,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,AMMONIA,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,AMMON,1,NA -WATER,AMMONIA,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS NH3,Convert NH3 to N,0.822,NA,NA,NA -WATER,AMMONIA,UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,AMMONIA AND AMMONIUM,DISSOLVED,NA,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIA AND AMMONIUM,DISSOLVED,NA,AS NH4,Convert NH4 to N,0.776,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIA AND AMMONIUM,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,9,NA -WATER,AMMONIA AND AMMONIUM,TOTAL,NA,AS N,NA,NA,AMMON,10,NA -WATER,AMMONIA AND AMMONIUM,TOTAL,NA,AS NH4,Convert NH4 to N,0.776,AMMON,11,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIA-NITROGEN,DISSOLVED,NA,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIA-NITROGEN,DISSOLVED,NA,AS NH3,Convert NH3 to N,0.822,AMMON,9,NA -WATER,AMMONIA-NITROGEN,DISSOLVED,NA,AS NH4,Convert NH4 to N,0.776,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIA-NITROGEN,DISSOLVED,NA,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,AMMONIA-NITROGEN,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIA-NITROGEN,NA,NA,AS N,NA,NA,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,AMMONIA-NITROGEN,NA,NA,AS NH3,Convert NH3 to N,0.822,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,AMMONIA-NITROGEN,SUPERNATE,NA,AS N,NA,NA,NA,NA,"Not used, do not know how to deal with fraction SUPERNATE" -WATER,AMMONIA-NITROGEN,TOTAL,NA,AS N,NA,NA,AMMON,1,NA -WATER,AMMONIA-NITROGEN,TOTAL,NA,AS NH3,Convert NH3 to N,0.822,AMMON,5,NA -WATER,AMMONIA-NITROGEN,TOTAL,NA,NA,Assumed as N,NA,AMMON,2,NA -WATER,AMMONIA-NITROGEN,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,AMMON,2,NA -WATER,AMMONIUM,DISSOLVED,NA,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIUM,DISSOLVED,NA,AS NH4,Convert NH4 to N,0.776,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIUM,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS NH4,Convert NH4 to N,0.776,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIUM,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIUM,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIUM,TOTAL,NA,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,AMMONIUM,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,AMMON,11,NA -WATER,AMMONIUM ,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,AMMONIUM ,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,AMMON,12,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,"INORGANIC NITROGEN (AMMONIA, NITRATE AND NITRITE)",DISSOLVED,NA,AS N,NA,NA,TOTAL N,4,Contains all elements of Equation 4 of Nutrient Aggregation Sheet -WATER,INORGANIC NITROGEN (NITRATE & NITRITE),DISSOLVED,NA,AS N,NA,NA,NITRATE + NITRITE,3,NA -WATER,INORGANIC NITROGEN (NITRATE AND NITRITE),DISSOLVED,NA,AS N,NA,NA,NITRATE + NITRITE,3,NA -WATER,INORGANIC NITROGEN (NITRATE AND NITRITE),NA,NA,AS N,NA,NA,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,INORGANIC NITROGEN (NITRATE AND NITRITE),TOTAL,NA,AS N,NA,NA,NITRATE + NITRITE,1,NA -WATER,"INORGANIC NITROGEN (NO2, NO3, & NH3)",DISSOLVED,NA,AS N,NA,NA,TOTAL N,4,Contains all elements of Equation 4 of Nutrient Aggregation Sheet -WATER,"INORGANIC NITROGEN (NO2, NO3, & NH3)",FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TOTAL N,4,Contains all elements of Equation 4 of Nutrient Aggregation Sheet -WATER,"INORGANIC NITROGEN (NO2, NO3, & NH3)",TOTAL,NA,AS N,NA,NA,TOTAL N,4,Contains all elements of Equation 4 of Nutrient Aggregation Sheet -WATER,"INORGANIC NITROGEN (NO2, NO3, & NH3)",UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,TOTAL N,4,Contains all elements of Equation 4 of Nutrient Aggregation Sheet -WATER,INORGANIC PHOSPHORUS,FILTERED,Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,INORGANIC PHOSPHORUS,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,KJELDAHL NITROGEN,DISSOLVED,NA,AS N,NA,NA,TKN,7,NA -WATER,KJELDAHL NITROGEN,DISSOLVED,NA,NA,Assumed as N,NA,TKN,7,NA -WATER,KJELDAHL NITROGEN,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TKN,7,NA -WATER,KJELDAHL NITROGEN,NA,NA,NA,Assumed as N,NA,TKN,4,NA -WATER,KJELDAHL NITROGEN,TOTAL,NA,AS N,NA,NA,TKN,1,NA -WATER,KJELDAHL NITROGEN,TOTAL,NA,AS NH4,Convert NH4 to N,0.776,TKN,8,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,KJELDAHL NITROGEN,TOTAL,NA,NA,Assumed as N,NA,TKN,2,NA -WATER,KJELDAHL NITROGEN,TOTAL RECOVERABLE,NA,AS N,NA,NA,TKN,6,NA -WATER,KJELDAHL NITROGEN,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,TKN,1,NA -WATER,NITRATE,ACID SOLUBLE,Assumes acid soluble equals the dissolved fraction,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,NITRATE,DISSOLVED,NA,AS N,NA,NA,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,NITRATE,DISSOLVED,NA,AS NO3,Convert NO3 to N,0.225,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,NITRATE,DISSOLVED,NA,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,NITRATE,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS NO3,Convert NO3 to N,0.225,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,NITRATE,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,NITRATE,FILTERED,Assume filtered/filterable equals dissolved fraction,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,NITRATE,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,NITRATE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,NITRATE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS NO3,Convert NO3 to N,0.225,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,NITRATE,INORGANIC,NA,AS N,NA,NA,NA,NA,"Not used, cannot infer fraction from ""INORGANIC""." -WATER,NITRATE,INORGANIC,NA,AS NO3,Convert NO3 to N,0.225,NA,NA,"Not used, cannot infer fraction from ""INORGANIC""." -WATER,NITRATE,NA,NA,AS N,NA,NA,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,NITRATE,NA,NA,AS NO3,Convert NO3 to N,0.225,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,NITRATE,TOTAL,NA,AS N,NA,NA,NITRATE,1,NA -WATER,NITRATE,TOTAL,NA,AS NO3,Convert NO3 to N,0.225,NITRATE,2,NA -WATER,NITRATE,TOTAL,NA,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,NITRATE,TOTAL RECOVERABLE,NA,AS N,NA,NA,NITRATE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,NITRATE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,NITRATE,1,NA -WATER,NITRATE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS NO3,Convert NO3 to N,0.225,NITRATE,2,NA -WATER,NITRATE,UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,NITRATE + NITRITE,DISSOLVED,NA,AS N,NA,NA,NITRATE + NITRITE,3,NA -WATER,NITRATE + NITRITE,DISSOLVED,NA,NA,Assumed as N,NA,NITRATE + NITRITE,3,NA -WATER,NITRATE + NITRITE,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE + NITRITE,3,NA -WATER,NITRATE + NITRITE,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE + NITRITE,3,NA -WATER,NITRATE + NITRITE,FILTERED,Assume filtered/filterable equals dissolved fraction,AS NO2+NO3,NA,NA,NA,NA,"Not used, speciation is ambiguous" -WATER,NITRATE + NITRITE,FILTERED,Assume filtered/filterable equals dissolved fraction,NA,Assumed as N,NA,NITRATE + NITRITE,3,NA -WATER,NITRATE + NITRITE,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE + NITRITE,3,NA -WATER,NITRATE + NITRITE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRATE + NITRITE,3,NA -WATER,NITRATE + NITRITE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS NO2+NO3,NA,NA,NA,NA,"Not used, speciation is ambiguous" -WATER,NITRATE + NITRITE,INORGANIC,NA,AS N,NA,NA,NA,NA,"Not used, cannot infer fraction from ""INORGANIC""." -WATER,NITRATE + NITRITE,NA,NA,AS N,NA,NA,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,NITRATE + NITRITE,NA,NA,NA,Assumed as N,NA,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,NITRATE + NITRITE,TOTAL,NA,AS N,NA,NA,NITRATE + NITRITE,1,NA -WATER,NITRATE + NITRITE,TOTAL,NA,NA,Assumed as N,NA,NITRATE + NITRITE,1,NA -WATER,NITRATE + NITRITE,TOTAL RECOVERABLE,NA,AS N,NA,NA,NITRATE + NITRITE,2,NA -WATER,NITRATE + NITRITE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,NITRATE + NITRITE,1,NA -WATER,NITRATE + NITRITE,UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,Assumed as N,NA,NITRATE + NITRITE,1,NA -WATER,NITRITE,DISSOLVED,NA,AS N,NA,NA,NITRITE,3,NA -WATER,NITRITE,DISSOLVED,NA,AS NO2,Convert NO2 to N,0.304,NITRITE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,NITRITE,DISSOLVED,NA,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,NITRITE,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRITE,3,NA -WATER,NITRITE,FILTERED,Assume filtered/filterable equals dissolved fraction,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,NITRITE,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRITE,3,NA -WATER,NITRITE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,NITRITE,3,NA -WATER,NITRITE,INORGANIC,NA,AS N,NA,NA,NA,NA,"Not used, cannot infer fraction from ""INORGANIC""." -WATER,NITRITE,NA,NA,AS N,NA,NA,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,NITRITE,NA,NA,AS NO2,Convert NO2 to N,0.304,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,NITRITE,TOTAL,NA,AS N,NA,NA,NITRITE,1,NA -WATER,NITRITE,TOTAL,NA,AS NO2,Convert NO2 to N,0.304,NITRITE,4,NA -WATER,NITRITE,TOTAL,NA,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,NITRITE,TOTAL RECOVERABLE,NA,AS N,NA,NA,NITRITE,5,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,NITRITE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,NITRITE,1,NA -WATER,NITRITE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS NO2,Convert NO2 to N,0.304,NITRITE,4,NA -WATER,NITRITE,UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,NA,NA,NA,NA,"Not used, speciation not reported and could not be inferred" -WATER,NITROGEN,DISSOLVED,NA,AS N,NA,NA,TOTAL N,3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet -WATER,NITROGEN,DISSOLVED,NA,AS NO3,Convert NO3 to N,0.225,NITRATE,2,NA -WATER,NITROGEN,DISSOLVED,NA,NA,Assumed as N,NA,TOTAL N,3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet -WATER,NITROGEN,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TOTAL N,3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet -WATER,NITROGEN,INORGANIC,NA,AS N,NA,NA,TOTAL N,4,"Assume same as INORGANIC NITROGEN (NO3, NO2, NH4) variants." -WATER,NITROGEN,NON-FILTERABLE (PARTICLE),NA,AS N,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,NITROGEN,SUSPENDED,NA,NA,Assumed as N,NA,TOTAL N,3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet -WATER,NITROGEN,TOTAL,Assumes Total fraction means Total N derived from multiple N subspecies,AS N,NA,NA,TOTAL N,1,NA -WATER,NITROGEN,TOTAL,Assumes Total fraction means Total N derived from multiple N subspecies,NA,Assumed as N,NA,TOTAL N,2,NA -WATER,NITROGEN,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,TOTAL N,1,NA -WATER,NITROGEN KJELDAHL,DISSOLVED,NA,AS N,NA,NA,TKN,7,NA -WATER,NITROGEN KJELDAHL,TOTAL,NA,AS N,NA,NA,TKN,1,NA -WATER,"NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",DISSOLVED,NA,AS N,NA,NA,TOTAL N,3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet -WATER,"NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",DISSOLVED,NA,NA,Assumed as N,NA,TOTAL N,3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet -WATER,"NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",TOTAL,Assumes Total fraction means Total N derived from multiple N subspecies,AS N,NA,NA,TOTAL N,1,NA -WATER,"NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",TOTAL,Assumes Total fraction means Total N derived from multiple N subspecies,AS NO3,Convert NO3 to N,0.225,NITRATE,3,NA -WATER,"NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",TOTAL,Assumes Total fraction means Total N derived from multiple N subspecies,NA,Assumed as N,NA,TOTAL N,2,NA -WATER,NUTRIENT-NITROGEN,NA,Assumes Total fraction means Total N derived from multiple N subspecies,AS N,NA,NA,NA,NA,"Not used, metadata not specific enough for summation" -WATER,ORGANIC NITROGEN,DISSOLVED,NA,AS N,NA,NA,ORG N,2,NA -WATER,ORGANIC NITROGEN,DISSOLVED,NA,NA,Assumed as N,NA,ORG N,2,NA -WATER,ORGANIC NITROGEN,FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,ORG N,2,NA -WATER,ORGANIC NITROGEN,NON-FILTERABLE (PARTICLE),NA,AS N,NA,NA,ORG N,3,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,ORGANIC NITROGEN,ORGANIC,NA,AS N,NA,NA,NA,NA,"Not used, cannot infer fraction from ORGANIC" -WATER,ORGANIC NITROGEN,TOTAL,NA,AS N,NA,NA,ORG N,1,NA -WATER,ORGANIC NITROGEN,TOTAL,NA,NA,Assumed as N,NA,ORG N,1,NA -WATER,ORGANIC NITROGEN,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,ORG N,1,NA -WATER,ORGANIC PHOSPHORUS,DISSOLVED,NA,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,ORGANIC PHOSPHORUS,FILTERED,Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,ORGANIC PHOSPHORUS,TOTAL,NA,AS P,NA,NA,PHOSP,4,NA -WATER,ORGANIC PHOSPHORUS,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS P,NA,NA,PHOSP,4,NA -WATER,ORTHOPHOSPHATE,DISSOLVED,NA,AS P,NA,NA,NA,NA,NA -WATER,ORTHOPHOSPHATE,DISSOLVED,NA,AS PO4,Convert AS PO4 to AS P,0.326,PO4,2,NA -WATER,ORTHOPHOSPHATE,DISSOLVED,NA,NA,Assumed as P,NA,NA,NA,"Not used, speciation missing and could not be inferred" -WATER,ORTHOPHOSPHATE,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,ORTHOPHOSPHATE,FILTERABLE,Assume filtered/filterable equals dissolved fraction,AS PO4,Convert AS PO4 to AS P,0.326,PO4,PO4,NA -WATER,ORTHOPHOSPHATE,FILTERED,Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,ORTHOPHOSPHATE,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,ORTHOPHOSPHATE,"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS PO4,Convert AS PO4 to AS P,0.326,PO4,2,NA -WATER,ORTHOPHOSPHATE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,ORTHOPHOSPHATE,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS PO4,Convert AS PO4 to AS P,0.326,PO4,2,NA -WATER,ORTHOPHOSPHATE,INORGANIC,NA,AS P,NA,NA,NA,NA,"Not used, cannot infer fraction from ""INORGANIC""." -WATER,ORTHOPHOSPHATE,NA,NA,AS P,NA,NA,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,ORTHOPHOSPHATE,NON-FILTERABLE (PARTICLE),NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,ORTHOPHOSPHATE,TOTAL,NA,AS P,NA,NA,PHOSP,3,NA -WATER,ORTHOPHOSPHATE,TOTAL,NA,AS PO4,Convert AS PO4 to AS P,0.326,PO4,2,NA -WATER,ORTHOPHOSPHATE,TOTAL,NA,NA,NA,NA,NA,NA,"Not used, speciation missing and could not be inferred" -WATER,ORTHOPHOSPHATE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS P,NA,NA,PHOSP,3,NA -WATER,ORTHOPHOSPHATE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS PO4,Convert AS PO4 to AS P,0.326,PO4,2,NA -WATER,PARTICULATE ORGANIC NITROGEN AND PARTICULATE NITROGEN,NA,NA,AS N,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,PARTICULATE ORGANIC NITROGEN AND PARTICULATE NITROGEN,NA,NA,NA,Assumed as N,NA,NA,NA,"Not used, not present in any of the equations." -WATER,PHOSPHATE,DISSOLVED,NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,PHOSPHATE,DISSOLVED,NA,NA,Assumed as P,NA,NA,NA,"Not used, not present in any of the equations." -WATER,PHOSPHATE,FILTERED,Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,PHOSPHATE,NA,NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,PHOSPHATE,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,PHOSPHATE-PHOSPHORUS,DISSOLVED,NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,PHOSPHATE-PHOSPHORUS,DISSOLVED,NA,NA,Assumed as P,NA,NA,NA,"Not used, not present in any of the equations." -WATER,PHOSPHATE-PHOSPHORUS,NA,NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,PHOSPHATE-PHOSPHORUS,NA,NA,NA,Assumed as P,NA,NA,NA,"Not used, not present in any of the equations." -WATER,PHOSPHATE-PHOSPHORUS,TOTAL,NA,AS P,NA,NA,PHOSP,7,NA -WATER,PHOSPHATE-PHOSPHORUS,TOTAL,NA,NA,Assumed as P,NA,PHOSP,7,NA -WATER,PHOSPHORUS,ACID SOLUBLE,NA,NA,Assumed as P,NA,NA,6,NA -WATER,PHOSPHORUS,DISSOLVED,NA,AS P,NA,NA,NA,6,NA -WATER,PHOSPHORUS,DISSOLVED,NA,AS PO4,Convert AS PO4 to AS P,0.326,PO4,6,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,PHOSPHORUS,INORGANIC,NA,AS P,NA,NA,NA,NA,"Not used, cannot infer fraction from ""INORGANIC""." -WATER,PHOSPHORUS,NA,NA,AS P,NA,NA,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,PHOSPHORUS,NA,NA,NA,Assumed as P,NA,NA,NA,"Not used, fraction not reported and could not be inferred" -WATER,PHOSPHORUS,NON-FILTERABLE (PARTICLE),NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,PHOSPHORUS,NON-FILTERABLE (PARTICLE),NA,AS PO4,Convert AS PO4 to AS P,0.326,NA,NA,"Not used, not present in any of the equations." -WATER,PHOSPHORUS,SUSPENDED,NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,PHOSPHORUS,TOTAL,NA,AS P,NA,NA,PHOSP,1,NA -WATER,PHOSPHORUS,TOTAL,NA,AS PO4,Convert AS PO4 to AS P,0.326,PO4,1,NA -WATER,PHOSPHORUS,TOTAL,NA,NA,Assumed as P,NA,PHOSP,2,NA -WATER,PHOSPHORUS,TOTAL RECOVERABLE,NA,AS P,NA,NA,PHOSP,5,NA -WATER,PHOSPHORUS,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS P,NA,NA,PHOSP,1,NA -WATER,"PHOSPHORUS, HYDROLYZABLE",TOTAL,NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,"PHOSPHORUS, PARTICULATE ORGANIC",NA,NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,"PHOSPHORUS, PARTICULATE ORGANIC",NON-FILTERABLE (PARTICLE),NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,"PHOSPHORUS, PARTICULATE ORGANIC",SUSPENDED,NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,POLYPHOSPHATE,DISSOLVED,NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,POLYPHOSPHATE,NON-FILTERABLE (PARTICLE),NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,POLYPHOSPHATE,TOTAL,NA,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,SOLUBLE REACTIVE PHOSPHORUS (SRP),DISSOLVED,NA,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but given rank anyway. See: https://www.nalms.org/secchidipin/monitoring-methods/phosphorus/" -WATER,SOLUBLE REACTIVE PHOSPHORUS (SRP),"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but given rank anyway. See: https://www.nalms.org/secchidipin/monitoring-methods/phosphorus/" -WATER,SOLUBLE REACTIVE PHOSPHORUS (SRP),"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but given rank anyway. See: https://www.nalms.org/secchidipin/monitoring-methods/phosphorus/" -WATER,SOLUBLE REACTIVE PHOSPHORUS (SRP),NA,NA,AS P,NA,NA,NA,NA,"Not explicity included in Nutrient Aggregation Sheet, but given rank anyway. See: https://www.nalms.org/secchidipin/monitoring-methods/phosphorus/" -WATER,SOLUBLE REACTIVE PHOSPHORUS (SRP),TOTAL,NA,AS P,NA,NA,PHOSP,7,"Not explicity included in Nutrient Aggregation Sheet, but given rank anyway. See: https://www.nalms.org/secchidipin/monitoring-methods/phosphorus/" -WATER,TOTAL KJELDAHL NITROGEN,"FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TKN,7,NA -WATER,TOTAL KJELDAHL NITROGEN,NA,Assume fraction is total,AS N,NA,NA,TKN,1,NA -WATER,TOTAL KJELDAHL NITROGEN,NA,Assume fraction is total,NA,Assumed as N,NA,TKN,8,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,TOTAL KJELDAHL NITROGEN,TOTAL,NA,AS N,NA,NA,TKN,1,NA -WATER,TOTAL KJELDAHL NITROGEN,UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,TKN,1,NA -WATER,TOTAL KJELDAHL NITROGEN,UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,Assumed as N,NA,TKN,2,NA -WATER,TOTAL KJELDAHL NITROGEN (ORGANIC N & NH3),DISSOLVED,NA,AS N,NA,NA,TKN,7,NA -WATER,TOTAL KJELDAHL NITROGEN (ORGANIC N & NH3),FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TKN,7,NA -WATER,TOTAL KJELDAHL NITROGEN (ORGANIC N & NH3),"FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TKN,7,NA -WATER,TOTAL KJELDAHL NITROGEN (ORGANIC N & NH3),TOTAL,NA,AS N,NA,NA,TKN,1,NA -WATER,TOTAL KJELDAHL NITROGEN (ORGANIC N & NH3),TOTAL,NA,NA,Assumed as N,NA,TKN,2,NA -WATER,TOTAL KJELDAHL NITROGEN (ORGANIC N & NH3),UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,TKN,1,NA -WATER,"TOTAL NITROGEN, MIXED FORMS",DISSOLVED,NA,AS N,NA,NA,TOTAL N,3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet -WATER,"TOTAL NITROGEN, MIXED FORMS",FILTERED,Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TOTAL N,3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet -WATER,"TOTAL NITROGEN, MIXED FORMS","FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TOTAL N,3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet -WATER,"TOTAL NITROGEN, MIXED FORMS","FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS N,NA,NA,TOTAL N,3,Assume synonymous with Pcode 51084 in Nutrient Aggregation Sheet -WATER,"TOTAL NITROGEN, MIXED FORMS",NA,Assumes Total fraction means Total N derived from multiple N subspecies,AS N,NA,NA,TOTAL N,1,NA -WATER,"TOTAL NITROGEN, MIXED FORMS",NA,Assumes Total fraction means Total N derived from multiple N subspecies,NA,Assumed as N,NA,TOTAL N,2,NA -WATER,"TOTAL NITROGEN, MIXED FORMS",NON-FILTERABLE (PARTICLE),NA,AS N,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,"TOTAL NITROGEN, MIXED FORMS",TOTAL,NA,AS N,NA,NA,TOTAL N,1,NA -WATER,"TOTAL NITROGEN, MIXED FORMS",TOTAL RECOVERABLE,NA,AS N,NA,NA,TOTAL N,4,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,"TOTAL NITROGEN, MIXED FORMS",UNFILTERED,Assumes Unfiltered is equivalent to Total,AS N,NA,NA,TOTAL N,1,NA -WATER,"TOTAL NITROGEN, MIXED FORMS",UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,Assumed as N,NA,TOTAL N,1,NA -WATER,"TOTAL NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",NA,Assumes Total fraction means Total N derived from multiple N subspecies,AS N,NA,NA,TOTAL N,1,NA -WATER,"TOTAL NITROGEN, MIXED FORMS (NH3), (NH4), ORGANIC, (NO2) AND (NO3)",TOTAL,NA,AS N,NA,NA,TOTAL N,1,NA -WATER,TOTAL PARTICULATE NITROGEN,NA,Assumes Total fraction means Total N derived from multiple N subspecies,AS N,NA,NA,ORG N,1,Assume synonymous with Pcode 00605 in Nutrient Aggregation Sheet -WATER,"TOTAL PHOSPHORUS, MIXED FORMS",DISSOLVED,NA,AS P,NA,NA,PHOSP,6,NA -WATER,"TOTAL PHOSPHORUS, MIXED FORMS",DISSOLVED,NA,NA,Assumed as P,NA,PHOSP,6,NA -WATER,"TOTAL PHOSPHORUS, MIXED FORMS",FILTERED,Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,6,NA -WATER,"TOTAL PHOSPHORUS, MIXED FORMS","FILTERED, FIELD",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,6,NA -WATER,"TOTAL PHOSPHORUS, MIXED FORMS","FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS P,NA,NA,PHOSP,6,NA -WATER,"TOTAL PHOSPHORUS, MIXED FORMS","FILTERED, LAB",Assume filtered/filterable equals dissolved fraction,AS PO4,Convert AS PO4 to AS P,0.326,PHOSP,8,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,"TOTAL PHOSPHORUS, MIXED FORMS",NA,Assume fraction is total,AS P,NA,NA,PHOSP,1,NA -WATER,"TOTAL PHOSPHORUS, MIXED FORMS",NA,Assume fraction is total,NA,Assumed as P,NA,PHOSP,1,NA -WATER,"TOTAL PHOSPHORUS, MIXED FORMS",NON-FILTERABLE (PARTICLE),NA,AS P,NA,NA,NA,NA,"Not used, not present in any of the equations." -WATER,"TOTAL PHOSPHORUS, MIXED FORMS",TOTAL,NA,AS P,NA,NA,PHOSP,1,NA -WATER,"TOTAL PHOSPHORUS, MIXED FORMS",TOTAL,NA,AS PO4,Convert AS PO4 to AS P,0.326,PO4,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,"TOTAL PHOSPHORUS, MIXED FORMS",TOTAL,NA,NA,Assumed as P,NA,PHOSP,2,NA -WATER,"TOTAL PHOSPHORUS, MIXED FORMS",UNFILTERED,Assumes Unfiltered is equivalent to Total,AS P,NA,NA,PHOSP,1,NA -WATER,"TOTAL PHOSPHORUS, MIXED FORMS",UNFILTERED,Assumes Unfiltered is equivalent to Total,AS PO4,Convert AS PO4 to AS P,0.326,PO4,7,"Not explicity included in Nutrient Aggregation Sheet, but similar enough to EDH to be given rank anyway. Expert review suggested." -WATER,"TOTAL PHOSPHORUS, MIXED FORMS",UNFILTERED,Assumes Unfiltered is equivalent to Total,NA,Assumed as P,NA,PHOSP,2,NA diff --git a/man/TADA_CalculateTotalNP.Rd b/man/TADA_CalculateTotalNP.Rd index 6dc94344..d92b80c0 100644 --- a/man/TADA_CalculateTotalNP.Rd +++ b/man/TADA_CalculateTotalNP.Rd @@ -34,7 +34,7 @@ TADA.NutrientSummationEquation columns, which can be used to trace how the total was calculated and from which subspecies. } \description{ -This function uses the \href{https://echo.epa.gov/trends/loading-tool/resources/nutrient-aggregation#nitrogen}{Nutrient Aggregation logic} +This function applies the \href{https://echo.epa.gov/trends/loading-tool/resources/nutrient-aggregation#nitrogen}{Nutrient Aggregation logic} from ECHO's Water Pollutant Loading Tool to add nitrogen subspecies together to approximate a total nitrogen value on a single day at a single site. Before summing subspecies, this function runs TADA_AggregateMeasurements to @@ -43,6 +43,31 @@ date, and depth. Where necessary, it uses conversion factors to convert nitrogen subspecies expressed as nitrate, nitrite, ammonia, ammonium, etc. to as nitrogen based on the atomic weights of the different elements in the compound. The reference table is contained within the package but may be -edited/customized by users. Future development may include total P summations -as well. +edited/customized by users. Nutrient equations are as follows: +} +\details{ +NITROGEN: +\enumerate{ +\item TOTAL N (UNFILTERED) +\item TOTAL N (FILTERED) + TOTAL N (PARTICULE) +\item TOTAL KJELDAHL NITROGEN + NITRATE + NITRITE +\item ORGANIC N + AMMONIA + NITRATE + NITRITE +\item OTHER NITROGEN FORMS +} + +PHOSPHORUS: +\enumerate{ +\item TOTAL PHOSPHORUS +\item PHOSPHATE +\item OTHER PHOSPHORUS FORMS +} + +Equations are applied in the order above. The function looks for groups of +nutrients that exactly match each equation before looking for every +combination within each equation (for example, a group of nitrogen subspecies +including AMMONIA and NITRATE will be passed over in an intial sweep of +groups of subspecies containing ORG N, AMMONIA, NITRATE, and NITRITE, but +will be caught as the function moves down the hierarchy of equations to fewer +and fewer subspecies). Eventually, even groups with only one subspecies will +be used to represent a TOTAL N value for that site/day/depth. }