Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions R/get_monitoring_location_arguments.R
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
24 changes: 12 additions & 12 deletions R/readNWISunit.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)


}
9 changes: 4 additions & 5 deletions man/get_monitoring_location_arguments.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading