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

Making the 'asDateTime' = FALSE option change to characters.

parent 57ff35ec
No related branches found
No related tags found
1 merge request!39Overhaul of function names. Move some functionality to EGRET.
...@@ -196,7 +196,7 @@ importRDB1 <- function(obs_url, asDateTime=FALSE, qw=FALSE, convertType = TRUE, ...@@ -196,7 +196,7 @@ importRDB1 <- function(obs_url, asDateTime=FALSE, qw=FALSE, convertType = TRUE,
} else { } else {
for (i in grep('d$', dataType)){ for (i in grep('d$', dataType)){
if (all(data[,i] != "")){ if (all(data[,i] != "")){
data[,i] <- as.Date(data[,i]) data[,i] <- as.character(data[,i])
} }
} }
} }
......
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