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/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) - - } 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{