Skip to content
Snippets Groups Projects
Commit 09f1e105 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Converted dateTime to date for daily measurements.

parent 551d9992
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ retrieveNWISData <- function (siteNumber,ParameterCd,StartDate,EndDate,StatCd="0 ...@@ -26,6 +26,7 @@ retrieveNWISData <- function (siteNumber,ParameterCd,StartDate,EndDate,StatCd="0
url <- constructNWISURL(siteNumber,ParameterCd,StartDate,EndDate,"dv",StatCd) url <- constructNWISURL(siteNumber,ParameterCd,StartDate,EndDate,"dv",StatCd)
data <- getWaterML1Data(url) data <- getWaterML1Data(url)
data$dateTime <- as.Date(data$dateTime)
return (data) return (data)
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment