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

Maintain column order.

parent 6ef2121a
No related branches found
No related tags found
1 merge request!59Error handling.
...@@ -68,8 +68,8 @@ readNWISdv <- function (siteNumber,parameterCd,startDate="",endDate="",statCd="0 ...@@ -68,8 +68,8 @@ readNWISdv <- function (siteNumber,parameterCd,startDate="",endDate="",statCd="0
if(nrow(data)>0){ if(nrow(data)>0){
data$dateTime <- as.Date(data$dateTime) data$dateTime <- as.Date(data$dateTime)
data$tz_cd <- NULL data$tz_cd <- NULL
data$Date <- data$dateTime
data$dateTime <- NULL names(data)[names(data) == "dateTime"] <- "Date"
} }
......
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