From cd0e2d45b41e0ab15996043d375c5ef3f3482339 Mon Sep 17 00:00:00 2001 From: Laura DeCicco Date: Tue, 4 Aug 2026 13:52:19 -0500 Subject: [PATCH 1/2] still deprecated --- R/readNWISunit.R | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/R/readNWISunit.R b/R/readNWISunit.R index 0478f0b0..42ef26bc 100644 --- a/R/readNWISunit.R +++ b/R/readNWISunit.R @@ -454,17 +454,17 @@ readNWISstat <- function( #' County and state fields will be included as appropriate. #' #' @export -readNWISuse <- function(stateCd, - countyCd, - years = "ALL", - categories = "ALL", - convertType = TRUE, - transform = FALSE) { - - .Deprecated(new = "read_waterdata_use", - package = "dataRetrieval", - msg = "NWIS servers for water use have been decommission. New functions are being developed.") +readNWISuse <- function( + stateCd, + countyCd, + years = "ALL", + categories = "ALL", + convertType = TRUE, + transform = FALSE +) { + .Deprecated( + package = "dataRetrieval", + msg = "NWIS servers for water use have been decommission. New functions are being developed." + ) return(NULL) - - } From cb9b6ad09b782325ae124297c7fc8eb003153dcc Mon Sep 17 00:00:00 2001 From: Laura DeCicco Date: Wed, 5 Aug 2026 08:28:50 -0500 Subject: [PATCH 2/2] cleanup message --- R/get_monitoring_location_arguments.R | 9 ++++----- man/get_monitoring_location_arguments.Rd | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/R/get_monitoring_location_arguments.R b/R/get_monitoring_location_arguments.R index 1167477d..57103f7e 100644 --- a/R/get_monitoring_location_arguments.R +++ b/R/get_monitoring_location_arguments.R @@ -1,11 +1,10 @@ #' Get Monitoring Location Arguments #' #' Many read_waterdata functions have a long list of arguments that can be used -#' to find sites that have data. Users can use this function to create a list -#' of possible arguments that can be used as input to the `get_monitoring_location_arguments` -#' argument (found in many of the read_waterdata functions). This function -#' also is used to check that user supplied available parameters to their queries -#' when using the `get_monitoring_location_arguments` argument. +#' to find sites that have data. Users can use this function as a reference +#' of possible arguments that can be used as input. +#' Additionally, this function is also used by other functions to check that +#' the user supplied parameters are available to their queries #' #' @param service Endpoint to check arguments against. Possible values are #' "daily", "latest-continuous", "field-measurements", "latest-daily", diff --git a/man/get_monitoring_location_arguments.Rd b/man/get_monitoring_location_arguments.Rd index d13f5456..57a146af 100644 --- a/man/get_monitoring_location_arguments.Rd +++ b/man/get_monitoring_location_arguments.Rd @@ -144,11 +144,10 @@ making sure your calls are accepted by the service, set to \code{TRUE}.} } \description{ Many read_waterdata functions have a long list of arguments that can be used -to find sites that have data. Users can use this function to create a list -of possible arguments that can be used as input to the \code{monitoring_location_arguments} -argument (found in many of the read_waterdata functions). This function -also is used to check that user supplied available parameters to their queries -when using the \code{monitoring_location_arguments} argument. +to find sites that have data. Users can use this function as a reference +of possible arguments that can be used as input. +Additionally, this function is also used by other functions to check that +the user supplied parameters are available to their queries } \examples{