Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dataRetrieval
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Water
dataRetrieval
Commits
21693da1
Commit
21693da1
authored
10 years ago
by
Laura A DeCicco
Browse files
Options
Downloads
Patches
Plain Diff
Help file updates.
parent
a4bb6ccf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!39
Overhaul of function names. Move some functionality to EGRET.
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
man/constructNWISURL.Rd
+3
-3
3 additions, 3 deletions
man/constructNWISURL.Rd
man/parameterCdFile.Rd
+1
-1
1 addition, 1 deletion
man/parameterCdFile.Rd
man/whatNWISData.Rd
+15
-4
15 additions, 4 deletions
man/whatNWISData.Rd
with
19 additions
and
8 deletions
man/constructNWISURL.Rd
+
3
−
3
View file @
21693da1
...
@@ -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 = "", end
Date = "",
constructNWISURL(siteNumber, parameterCd
= "00060", start
Date = "",
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}
...
...
This diff is collapsed.
Click to expand it.
man/parameterCdFile.Rd
+
1
−
1
View file @
21693da1
...
@@ -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
Sept
ember
25
, 201
3
.
Complete list of USGS parameter codes as of
Nov
ember
7
, 201
4
.
}
}
\keyword{USGS}
\keyword{USGS}
\keyword{parameterCd}
\keyword{parameterCd}
...
...
This diff is collapsed.
Click to expand it.
man/whatNWISData.Rd
+
15
−
4
View file @
21693da1
...
@@ -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(siteNumber
s
, 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{siteNumber
s
}{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}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment