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

Yeah for tests!

parent 7f820677
No related branches found
No related tags found
1 merge request!148Make a consistent naming convention when dealing with reported columns.
......@@ -141,8 +141,8 @@ readNWISpeak <- function (siteNumbers,startDate="",endDate="", asDateTime=TRUE){
warning(length(badDates), " rows were thrown out due to incomplete dates")
}
}
data$peak_dt <- as.Date(data$peak_dt)
data$ag_dt <- as.Date(data$ag_dt)
if("peak_dt" %in% names(data)) data$peak_dt <- as.Date(data$peak_dt, format="%Y-%m-%d")
if("ag_dt" %in% names(data)) data$ag_dt <- as.Date(data$ag_dt, format="%Y-%m-%d")
}
data$gage_ht <- as.numeric(data$gage_ht)
data$ag_gage_ht <- as.numeric(data$ag_gage_ht)
......
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