readNWISpCode.Rd 1.32 KB
Newer Older
Laura A DeCicco's avatar
Laura A DeCicco committed
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/readNWISpCode.r
Laura A DeCicco's avatar
Laura A DeCicco committed
3
\name{readNWISpCode}
Laura A DeCicco's avatar
Laura A DeCicco committed
4
\alias{readNWISpCode}
Laura A DeCicco's avatar
Laura A DeCicco committed
5
6
\title{USGS Parameter Data Retrieval}
\usage{
Laura A DeCicco's avatar
Laura A DeCicco committed
7
readNWISpCode(parameterCd)
Laura A DeCicco's avatar
Laura A DeCicco committed
8
9
}
\arguments{
10
\item{parameterCd}{character of USGS parameter codes (or multiple parameter codes).  These are 5 digit number codes,
Laura A DeCicco's avatar
Laura A DeCicco committed
11
more information can be found here: \url{https://help.waterdata.usgs.gov/}. To get a 
Laura A DeCicco's avatar
Laura A DeCicco committed
12
complete list of all current parameter codes in the USGS, use "all" as the input.}
Laura A DeCicco's avatar
Laura A DeCicco committed
13
14
}
\value{
Laura A DeCicco's avatar
Laura A DeCicco committed
15
parameterData data frame with the following information: 
Laura A DeCicco's avatar
Laura A DeCicco committed
16
17
18
19
20
21
22
23
24
\tabular{lll}{
  Name \tab Type \tab Description\cr
  parameter_cd \tab character \tab 5-digit USGS parameter code \cr
  parameter_group_nm \tab character \tab USGS parameter group name\cr
  parameter_nm \tab character \tab USGS parameter name\cr
  casrn \tab character \tab Chemical Abstracts Service (CAS) Registry Number\cr
  srsname \tab character \tab Substance Registry Services Name\cr
  parameter_units \tab character \tab Parameter units\cr
}
Laura A DeCicco's avatar
Laura A DeCicco committed
25
26
}
\description{
Laura A DeCicco's avatar
Laura A DeCicco committed
27
Imports data from NWIS about meaured parameter based on user-supplied parameter code or codes.
Laura A DeCicco's avatar
Laura A DeCicco committed
28
This function gets the data from here: \url{https://nwis.waterdata.usgs.gov/nwis/pmcodes}
Laura A DeCicco's avatar
Laura A DeCicco committed
29
}
Laura A DeCicco's avatar
Laura A DeCicco committed
30
31
32
\seealso{
\code{\link{importRDB1}}
}
Laura A DeCicco's avatar
Laura A DeCicco committed
33
34
35
36
37
\keyword{USGS}
\keyword{data}
\keyword{import}
\keyword{service}
\keyword{web}