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

Merge pull request #223 from ldecicco-USGS/master

Fix warning
parents fcb6c19b 95b5cce2
Package: dataRetrieval
Type: Package
Title: Retrieval Functions for USGS and EPA Hydrologic and Water Quality Data
Version: 2.5.6
Date: 2016-04-18
Version: 2.5.7
Date: 2016-05-23
Authors@R: c( person("Robert", "Hirsch", role = c("aut"),
email = "rhirsch@usgs.gov"),
person("Laura", "DeCicco", role = c("aut","cre"),
......
dataRetrieval 2.5.7
==========
* HEAD requests can be returned in readWQP* functions. This can give some indication on amount of data available.
dataRetrieval 2.5.0
==========
* Package httr is now used for web service retrievals
......
......@@ -19,6 +19,7 @@
#' 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"
#' querySummary logical to look at number of records and unique sites that will be returned from this query.
#' @param querySummary logical to look at number of records and unique sites that will be returned from this query.
#' @keywords data import USGS web service
#' @return A data frame with at least the following columns:
#' \tabular{lll}{
......@@ -116,7 +117,7 @@ readWQPqw <- function(siteNumbers,parameterCd,startDate="",endDate="",tz="", que
url <- constructWQPURL(siteNumbers,parameterCd,startDate,endDate)
if(querySummary){
queryHEAD <- HEAD(urlCall)
queryHEAD <- HEAD(url)
retquery <- headers(queryHEAD)
return(retquery)
} else {
......
......@@ -24,6 +24,8 @@ datetimes to UTC (properly accounting for daylight savings times based on the da
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"
querySummary logical to look at number of records and unique sites that will be returned from this query.}
\item{querySummary}{logical to look at number of records and unique sites that will be returned from this query.}
}
\value{
A data frame with at least the following columns:
......
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