Commit c74dd184 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Updated docs

parent bf8943a4
......@@ -13,9 +13,11 @@
#' "America/Anchorage", as well as the following which do not use daylight savings time: "America/Honolulu",
#' "America/Jamaica","America/Managua","America/Phoenix", and "America/Metlakatla". See also \code{OlsonNames()}
#' for more information on time zones.
#' @param \dots see \url{https://waterservices.usgs.gov/rest/Site-Service.html} for a complete list of options. A list of arguments can also be supplied.
#' One important argument to include is 'service'. Possible values are "iv" (for instantaneous), "dv" (for daily values), "gwlevels"
#' (for groundwater levels), "site" (for site service), "qw" (water-quality),"measurement", and "stat" (for
#' @param \dots see \url{https://waterservices.usgs.gov/rest/Site-Service.html} for a complete list of options. A
#' list of arguments can also be supplied. One important argument to include is 'service'. Possible values are "iv"
#' (for instantaneous), "iv_recent" (for instantaneous values within the last 120 days),
#' "dv" (for daily values), "gwlevels" (for groundwater levels),
#' "site" (for site service), "qw" (water-quality),"measurement", and "stat" (for
#' statistics service). Note: "qw" and "measurement" calls go to:
#' \url{https://nwis.waterdata.usgs.gov/usa/nwis} for data requests, and use different call requests schemes.
#' The statistics service has a limited selection of arguments (see \url{https://waterservices.usgs.gov/rest/Statistics-Service-Test-Tool.html}).
......
......@@ -7,9 +7,11 @@
readNWISdata(..., asDateTime = TRUE, convertType = TRUE, tz = "UTC")
}
\arguments{
\item{\dots}{see \url{https://waterservices.usgs.gov/rest/Site-Service.html} for a complete list of options. A list of arguments can also be supplied.
One important argument to include is 'service'. Possible values are "iv" (for instantaneous), "dv" (for daily values), "gwlevels"
(for groundwater levels), "site" (for site service), "qw" (water-quality),"measurement", and "stat" (for
\item{\dots}{see \url{https://waterservices.usgs.gov/rest/Site-Service.html} for a complete list of options. A
list of arguments can also be supplied. One important argument to include is 'service'. Possible values are "iv"
(for instantaneous), "iv_recent" (for instantaneous values within the last 120 days),
"dv" (for daily values), "gwlevels" (for groundwater levels),
"site" (for site service), "qw" (water-quality),"measurement", and "stat" (for
statistics service). Note: "qw" and "measurement" calls go to:
\url{https://nwis.waterdata.usgs.gov/usa/nwis} for data requests, and use different call requests schemes.
The statistics service has a limited selection of arguments (see \url{https://waterservices.usgs.gov/rest/Statistics-Service-Test-Tool.html}).}
......@@ -137,6 +139,10 @@ all_sites_base <- readNWISdata(service = "rating", file_type="base")
all_sites_core <- readNWISdata(service = "rating", file_type="corr")
all_sites_exsa <- readNWISdata(service = "rating", file_type="exsa")
all_sites_24hrs <- readNWISdata(service = "rating", file_type="exsa", period = 24)
today <- readNWISdata(service="iv", startDate = Sys.Date(),
parameterCd = "00060", siteNumber = "05114000")
}
}
\seealso{
......
......@@ -68,6 +68,8 @@ endDate <- "2014-10-10"
\dontrun{
rawData <- readNWISuv(site_id,parameterCd,startDate,endDate)
rawData_today <- readNWISuv(site_id, parameterCd, Sys.Date(),Sys.Date())
timeZoneChange <- readNWISuv(c('04024430','04024000'),parameterCd,
"2013-11-03","2013-11-03")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment