Skip to content
Snippets Groups Projects
Commit 21693da1 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Help file updates.

parent a4bb6ccf
No related branches found
No related tags found
1 merge request!39Overhaul of function names. Move some functionality to EGRET.
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
\alias{constructNWISURL} \alias{constructNWISURL}
\title{Construct NWIS url for data retrieval} \title{Construct NWIS url for data retrieval}
\usage{ \usage{
constructNWISURL(siteNumber, parameterCd, startDate = "", endDate = "", constructNWISURL(siteNumber, parameterCd = "00060", startDate = "",
service, statCd = "00003", format = "xml", expanded = FALSE, endDate = "", service, statCd = "00003", format = "xml",
ratingType = "base") expanded = FALSE, ratingType = "base")
} }
\arguments{ \arguments{
\item{siteNumber}{string or vector of strings USGS site number. This is usually an 8 digit number} \item{siteNumber}{string or vector of strings USGS site number. This is usually an 8 digit number}
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
\alias{parameterCdFile} \alias{parameterCdFile}
\title{List of USGS parameter codes} \title{List of USGS parameter codes}
\description{ \description{
Complete list of USGS parameter codes as of September 25, 2013. Complete list of USGS parameter codes as of November 7, 2014.
} }
\keyword{USGS} \keyword{USGS}
\keyword{parameterCd} \keyword{parameterCd}
......
...@@ -4,14 +4,23 @@ ...@@ -4,14 +4,23 @@
\alias{whatNWISdata} \alias{whatNWISdata}
\title{USGS data availability} \title{USGS data availability}
\usage{ \usage{
getNWISDataAvailability(siteNumber, service = c("uv", "dv", "qw")) getNWISDataAvailability(siteNumbers, service = c("uv", "dv", "qw"))
whatNWISdata(siteNumber, service = c("uv", "dv", "qw")) whatNWISdata(siteNumbers, service = "all", parameterCd = "all",
statCd = "all")
} }
\arguments{ \arguments{
\item{siteNumber}{string USGS site number.} \item{siteNumbers}{string vector of USGS site number or multiple sites.}
\item{service}{vector string. Options are "uv", "dv", "qw"} \item{service}{vector string. Options are "all", or one or many of "dv"(daily values),
"uv","rt", or "iv"(unit values), "qw"(water-quality),"sv"(sites visits),"pk"(peak measurements),
"gw"(groundwater levels), "ad" (sites included in USGS Annual Water Data Reports External Link),
"aw" (sites monitored by the USGS Active Groundwater Level Network External Link), "id" (historical
instantaneous values), "}
\item{parameterCd}{string vector of valid parameter codes to return. Defaults to "all" which will not perform a filter.}
\item{statCd}{string vector of all statistic codes to return. Defaults to "all" which will not perform a filter.}
} }
\value{ \value{
retval dataframe with all information found in the expanded site file retval dataframe with all information found in the expanded site file
...@@ -24,6 +33,8 @@ availableData <- whatNWISdata('05114000') ...@@ -24,6 +33,8 @@ availableData <- whatNWISdata('05114000')
# To find just unit value ('instantaneous') data: # To find just unit value ('instantaneous') data:
uvData <- whatNWISdata('05114000',service="uv") uvData <- whatNWISdata('05114000',service="uv")
uvDataMulti <- whatNWISdata(c('05114000','09423350'),service=c("uv","dv")) uvDataMulti <- whatNWISdata(c('05114000','09423350'),service=c("uv","dv"))
siteNumbers <- c("01491000","01645000")
flowAndTemp <- whatNWISdata(siteNumbers, parameterCd=c("00060","00010"))
} }
\keyword{USGS} \keyword{USGS}
\keyword{data} \keyword{data}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment