diff --git a/man/importWQP.Rd b/man/importWQP.Rd index c77b43468dbbc11f58f668549c779754687304c4..aaa844df5ea1ee2cb83d02dde41918fe3022ccdb 100644 --- a/man/importWQP.Rd +++ b/man/importWQP.Rd @@ -1,7 +1,7 @@ % Generated by roxygen2 (4.0.2): do not edit by hand \name{importWQP} \alias{importWQP} -\title{Basic Water Quality Portal Data grabber} +\title{Basic Water Quality Portal Data parser} \usage{ importWQP(url, zip = FALSE, tz = "") } @@ -30,8 +30,13 @@ rawSampleURL <- constructWQPURL('USGS-01594440','01075', '', '') rawSample <- importWQP(rawSampleURL) url2 <- paste0(rawSampleURL,"&zip=yes") rawSample2 <- importWQP(url2, TRUE) +STORETex <- constructWQPURL('WIDNR_WQX-10032762','Specific conductance', '', '') +STORETdata <- importWQP(STORETex) } } +\seealso{ +\code{\link{readWQPdata}}, \code{\link{readWQPqw}}, \code{\link{whatWQPsites}} +} \keyword{USGS} \keyword{data} \keyword{import} diff --git a/man/importWaterML2.Rd b/man/importWaterML2.Rd index 8175999b279f93276c7a7ca78776d2977d93407e..9fca77fbe3efab41824e2928eba59ec78901cee2 100644 --- a/man/importWaterML2.Rd +++ b/man/importWaterML2.Rd @@ -16,10 +16,11 @@ Possible values to provide are "America/New_York","America/Chicago", "America/De "America/Anchorage","America/Honolulu","America/Jamaica","America/Managua","America/Phoenix", and "America/Metlakatla"} } \value{ -mergedDF a data frame containing columns agency, site, dateTime, values, and remark codes for all requested combinations +mergedDF a data frame time, value, description, qualifier, and identifier } \description{ -This function accepts a url parameter for a WaterML2 getObservation +This function accepts a url parameter for a WaterML2 getObservation. This function is still under development, +but the general functionality is correct. } \examples{ baseURL <- "http://waterservices.usgs.gov/nwis/dv/?format=waterml,2.0" diff --git a/man/pCodeToName.Rd b/man/pCodeToName.Rd new file mode 100644 index 0000000000000000000000000000000000000000..e333c6f0eca5504063fe439a2cab61b55acfb008 --- /dev/null +++ b/man/pCodeToName.Rd @@ -0,0 +1,11 @@ +% Generated by roxygen2 (4.0.2): do not edit by hand +\docType{data} +\name{pCodeToName} +\alias{pCodeToName} +\title{Data to convert USGS parameter code to characteristic names} +\description{ +Data pulled from Water Quality Portal on November 25, 2014. +} +\keyword{USGS} +\keyword{parameterCd} + diff --git a/man/readNWISgwl.Rd b/man/readNWISgwl.Rd index f1f571c0fa3a6ec8e0a96520406c2e74e2c76686..cb2fac55e6eba02e804bd6ce33088d561b72f7e4 100644 --- a/man/readNWISgwl.Rd +++ b/man/readNWISgwl.Rd @@ -16,10 +16,10 @@ readNWISgwl(siteNumbers, startDate = "", endDate = "") A data frame with the following columns: \tabular{lll}{ Name \tab Type \tab Description \cr -agency \tab character \tab The NWIS code for the agency reporting the data\cr -site \tab character \tab The USGS site number \cr -datetime \tab character \tab The date and time of the value as a character \cr -tz_cd \tab character \tab The time zone code for datetime \cr +agency_cd \tab character \tab The NWIS code for the agency reporting the data\cr +site_no \tab character \tab The USGS site number \cr +dateTime \tab character \tab The date and time of the value as a character \cr +tz_cd \tab character \tab The time zone code for dateTime \cr code \tab character \tab Any codes that qualify the corresponding value\cr value \tab numeric \tab The numeric value for the parameter \cr } @@ -41,7 +41,8 @@ queryTime \tab POSIXct \tab The time the data was returned \cr } \description{ Reads groundwater level measurements from NWISweb. Mixed date/times come back from the service -depending on the year that the data was collected. +depending on the year that the data was collected. See \url{http://waterdata.usgs.gov/usa/nwis/gw} +for details about groundwater } \examples{ siteNumber <- "434400121275801" diff --git a/man/readNWISmeas.Rd b/man/readNWISmeas.Rd index da408adea08dad265449fa8617b66be448c8332b..688300e50ada1ed98782c419f0677da8adfebe10 100644 --- a/man/readNWISmeas.Rd +++ b/man/readNWISmeas.Rd @@ -12,8 +12,8 @@ readNWISmeas(siteNumber, startDate = "", endDate = "", tz = "") \item{endDate}{character ending date for data retrieval in the form YYYY-MM-DD.} -\item{tz}{character to set timezone attribute of datetime. Default is an empty quote, which converts the -datetimes to UTC (properly accounting for daylight savings times based on the data's provided tz_cd column). +\item{tz}{character to set timezone attribute of dateTime. Default is an empty quote, which converts the +dateTimes to UTC (properly accounting for daylight savings times based on the data's provided tz_cd column). Possible values to provide are "America/New_York","America/Chicago", "America/Denver","America/Los_Angeles", "America/Anchorage","America/Honolulu","America/Jamaica","America/Managua","America/Phoenix", and "America/Metlakatla"} } @@ -23,15 +23,18 @@ A data frame with at least the following columns: Name \tab Type \tab Description \cr agency_cd \tab character \tab The NWIS code for the agency reporting the data\cr site_no \tab character \tab The USGS site number \cr -tz_cd \tab character \tab The time zone code for datetime \cr +tz_cd \tab character \tab The time zone code for dateTime \cr } +See \url{http://waterdata.usgs.gov/usa/nwis/sw} for details about surface water. + There are also several useful attributes attached to the data frame: \tabular{lll}{ Name \tab Type \tab Description \cr url \tab character \tab The url used to generate the data \cr queryTime \tab POSIXct \tab The time the data was returned \cr comment \tab character \tab Header comments from the RDB file \cr +siteInfo \tab data.frame \tab A data frame containing information on the requested sites \cr } } \description{ diff --git a/man/readNWISpeak.Rd b/man/readNWISpeak.Rd index e171579f41c5686c55899663a97a30d8311e505c..8f8cf938f3e17dbc8f2090746a22e758d4589f1a 100644 --- a/man/readNWISpeak.Rd +++ b/man/readNWISpeak.Rd @@ -18,17 +18,12 @@ A data frame with the following columns: Name \tab Type \tab Description \cr agency_cd \tab character \tab The NWIS code for the agency reporting the data\cr site_no \tab character \tab The USGS site number \cr -datetime \tab POSIXct \tab The date and time of the value converted to UTC (if asDateTime = TRUE), \cr +dateTime \tab POSIXct \tab The date and time of the value converted to UTC (if asDateTime = TRUE), \cr \tab character \tab or raw character string (if asDateTime = FALSE) \cr -tz_cd \tab character \tab The time zone code for datetime \cr +tz_cd \tab character \tab The time zone code for dateTime \cr code \tab character \tab Any codes that qualify the corresponding value\cr value \tab numeric \tab The numeric value for the parameter \cr } -Note that code and value are repeated for the parameters requested. The names are of the form -XD_P_S, where X is literal, -D is an option description of the parameter, -P is the parameter code, -and S is the statistic code (if applicable). There are also several useful attributes attached to the data frame: \tabular{lll}{ @@ -36,6 +31,7 @@ Name \tab Type \tab Description \cr url \tab character \tab The url used to generate the data \cr queryTime \tab POSIXct \tab The time the data was returned \cr comment \tab character \tab Header comments from the RDB file \cr +siteInfo \tab data.frame \tab A data frame containing information on the requested sites \cr } } \description{ diff --git a/man/readNWISuv.Rd b/man/readNWISuv.Rd index fd810547416fa59ba0e9507f9eb0eebfe2f9441c..d78dee06997b0cc9d7fbd06fd08ccb472d5a4055 100644 --- a/man/readNWISuv.Rd +++ b/man/readNWISuv.Rd @@ -19,8 +19,8 @@ readNWISuv(siteNumbers, parameterCd, startDate = "", endDate = "", \item{endDate}{character ending date for data retrieval in the form YYYY-MM-DD.} -\item{tz}{character to set timezone attribute of datetime. Default is an empty quote, which converts the -datetimes to UTC (properly accounting for daylight savings times based on the data's provided tz_cd column). +\item{tz}{character to set timezone attribute of dateTime. Default is an empty quote, which converts the +dateTimes to UTC (properly accounting for daylight savings times based on the data's provided tz_cd column). Possible values to provide are "America/New_York","America/Chicago", "America/Denver","America/Los_Angeles", "America/Anchorage","America/Honolulu","America/Jamaica","America/Managua","America/Phoenix", and "America/Metlakatla"} } @@ -28,14 +28,14 @@ Possible values to provide are "America/New_York","America/Chicago", "America/De A data frame with the following columns: \tabular{lll}{ Name \tab Type \tab Description \cr -agency \tab character \tab The NWIS code for the agency reporting the data\cr -site \tab character \tab The USGS site number \cr -datetime \tab POSIXct \tab The date and time of the value converted to UTC \cr -tz_cd \tab character \tab The time zone code for datetime \cr +agency_cd \tab character \tab The NWIS code for the agency reporting the data\cr +site_no \tab character \tab The USGS site number \cr +dateTime \tab POSIXct \tab The date and time of the value converted to UTC \cr +tz_cd \tab character \tab The time zone code for dateTime \cr code \tab character \tab Any codes that qualify the corresponding value\cr value \tab numeric \tab The numeric value for the parameter \cr } -Note that code and value are repeated for the parameters requested. The names are of the form +Note that code and value are repeated for the parameters requested. The names are of the form: X_D_P_S, where X is literal, D is an option description of the parameter, P is the parameter code,