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

Convert lat/lon to numbers, added query time.

parent f387b75a
No related branches found
No related tags found
1 merge request!18Handling multiple date types.
......@@ -24,5 +24,15 @@ getNWISSites <- function(...){
retval <- getRDB1Data(urlCall)
if("dec_lat_va" %in% names(retval)){
retval$dec_lat_va <- as.numeric(retval$dec_lat_va)
}
if("dec_long_va" %in% names(retval)){
retval$dec_long_va <- as.numeric(retval$dec_long_va)
}
retval$queryTime <- Sys.time()
return(retval)
}
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