Skip to content

Commit

Permalink
Merge pull request #197 from ldecicco-USGS/master
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
ldecicco-USGS committed Mar 18, 2016
2 parents 5211c43 + 8a4f6f4 commit 8c8314f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: dataRetrieval
Type: Package
Title: Retrieval Functions for USGS and EPA Hydrologic and Water Quality Data
Version: 2.5.2
Version: 2.5.3
Date: 2016-03-04
Authors@R: c( person("Robert", "Hirsch", role = c("aut"),
email = "rhirsch@usgs.gov"),
Expand All @@ -28,10 +28,10 @@ Depends:
R (>= 3.0)
Imports:
XML,
httr,
httr (>= 1.0.0),
curl,
reshape2,
lubridate,
lubridate (>= 1.5.0),
stats,
utils,
dplyr,
Expand Down
4 changes: 1 addition & 3 deletions R/whatNWISsites.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ whatNWISsites <- function(...){

rawData <- getWebServiceData(urlCall, encoding='gzip')


doc <- xmlTreeParse(rawData, getDTD = FALSE, useInternalNodes = TRUE)
doc <- xmlRoot(doc)
doc <- xmlRoot(rawData)
numChunks <- xmlSize(doc)
for(i in 1:numChunks){
chunk <- doc[[1]]
Expand Down

0 comments on commit 8c8314f

Please sign in to comment.