From 5f634c48a5df7ed946b3703cf0b309d2cb8a79d2 Mon Sep 17 00:00:00 2001 From: cristinamullin <46969696+cristinamullin@users.noreply.github.com> Date: Wed, 5 Feb 2025 19:45:19 -0500 Subject: [PATCH] fix TADA_AutoClean doc example --- R/ATTAINSCrosswalks.R | 6 +++--- R/Utilities.R | 3 ++- man/TADA_AutoClean.Rd | 2 +- man/TADA_CreateParamRef.Rd | 6 +++--- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/R/ATTAINSCrosswalks.R b/R/ATTAINSCrosswalks.R index 83e41023..efe0b730 100644 --- a/R/ATTAINSCrosswalks.R +++ b/R/ATTAINSCrosswalks.R @@ -428,9 +428,9 @@ TADA_UpdateMonitoringLocationsInATTAINS <- function(org_id = NULL, #' If there is no existing ATTAINS parameter name that corresponds with a #' TADA.ComparableDataIdentifier needed for an organization's assessments, users should contact the #' ATTAINS team to inquire about adding the parameter. Users are free to use any ATTAINS parameter -#' names found in the ATTAINS parameter domain value list (add link to ref file from HRM crosswalk -#' branch), even if the parameter name has not previously been listed as a cause by the -#' organization. +#' names found in the ATTAINS parameter domain value list, even if the parameter name has not previously been listed as a cause by the +#' organization. A list of ATTAINS parameter names can be found by downloading the ATTAINS Domains Excel file: +#' https://www.epa.gov/system/files/other-files/2023-09/DOMAINS.xlsx. #' #' Otherwise, users can still proceed by overriding the data validation by value pasting. #' Users will be warned in the ATTAINS.FlagParameterName column if they choose to include an diff --git a/R/Utilities.R b/R/Utilities.R index 9391cc48..425fb962 100644 --- a/R/Utilities.R +++ b/R/Utilities.R @@ -124,6 +124,7 @@ OffReservationUrl <- "https://geopub.epa.gov/arcgis/rest/services/EMEF/Tribal/Ma OKTribeUrl <- "https://geopub.epa.gov/arcgis/rest/services/EMEF/Tribal/MapServer/4/query" VATribeUrl <- "https://geopub.epa.gov/arcgis/rest/services/EMEF/Tribal/MapServer/5/query" + #' TADA_AutoClean #' #' This function performs the following tasks: @@ -208,7 +209,7 @@ VATribeUrl <- "https://geopub.epa.gov/arcgis/rest/services/EMEF/Tribal/MapServer #' # https://www.waterqualitydata.us/ #' #' # Example WQP URL: -#' https://www.waterqualitydata.us/#statecode=US%3A09&characteristicType=Nutrient&startDateLo=04-01-2023&startDateHi=11-01-2023&mimeType=csv&providers=NWIS&providers=STEWARDS&providers=STORET +#' # https://www.waterqualitydata.us/#statecode=US%3A09&characteristicType=Nutrient&startDateLo=04-01-2023&startDateHi=11-01-2023&mimeType=csv&providers=NWIS&providers=STEWARDS&providers=STORET #' #' # Use TADA_ReadWQPWebServices to load the Station, Project, and Phys-Chem Result profiles #' stationProfile <- TADA_ReadWQPWebServices("https://www.waterqualitydata.us/data/Station/search?statecode=US%3A09&characteristicType=Nutrient&startDateLo=04-01-2023&startDateHi=11-01-2023&mimeType=csv&zip=yes&providers=NWIS&providers=STEWARDS&providers=STORET") diff --git a/man/TADA_AutoClean.Rd b/man/TADA_AutoClean.Rd index bc6d23a5..6fb710bd 100644 --- a/man/TADA_AutoClean.Rd +++ b/man/TADA_AutoClean.Rd @@ -92,7 +92,7 @@ alone function but is primarily used by the TADA_dataRetrieval function. # https://www.waterqualitydata.us/ # Example WQP URL: -https://www.waterqualitydata.us/#statecode=US\%3A09&characteristicType=Nutrient&startDateLo=04-01-2023&startDateHi=11-01-2023&mimeType=csv&providers=NWIS&providers=STEWARDS&providers=STORET +# https://www.waterqualitydata.us/#statecode=US\%3A09&characteristicType=Nutrient&startDateLo=04-01-2023&startDateHi=11-01-2023&mimeType=csv&providers=NWIS&providers=STEWARDS&providers=STORET # Use TADA_ReadWQPWebServices to load the Station, Project, and Phys-Chem Result profiles stationProfile <- TADA_ReadWQPWebServices("https://www.waterqualitydata.us/data/Station/search?statecode=US\%3A09&characteristicType=Nutrient&startDateLo=04-01-2023&startDateHi=11-01-2023&mimeType=csv&zip=yes&providers=NWIS&providers=STEWARDS&providers=STORET") diff --git a/man/TADA_CreateParamRef.Rd b/man/TADA_CreateParamRef.Rd index 378722f1..52855e93 100644 --- a/man/TADA_CreateParamRef.Rd +++ b/man/TADA_CreateParamRef.Rd @@ -73,9 +73,9 @@ drop-down list excel spreadsheet aligns with each TADA.ComparableDataIdentifier. If there is no existing ATTAINS parameter name that corresponds with a TADA.ComparableDataIdentifier needed for an organization's assessments, users should contact the ATTAINS team to inquire about adding the parameter. Users are free to use any ATTAINS parameter -names found in the ATTAINS parameter domain value list (add link to ref file from HRM crosswalk -branch), even if the parameter name has not previously been listed as a cause by the -organization. +names found in the ATTAINS parameter domain value list, even if the parameter name has not previously been listed as a cause by the +organization. A list of ATTAINS parameter names can be found by downloading the ATTAINS Domains Excel file: +https://www.epa.gov/system/files/other-files/2023-09/DOMAINS.xlsx. Otherwise, users can still proceed by overriding the data validation by value pasting. Users will be warned in the ATTAINS.FlagParameterName column if they choose to include an