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

Switched around order

parent e6519876
No related branches found
No related tags found
1 merge request!76Taking out external call on check.
......@@ -92,9 +92,7 @@ importRDB1 <- function(obs_url, asDateTime=FALSE, qw=FALSE, convertType = TRUE,
doc <- textConnection(rawData)
}
fileVecChar <- scan(obs_url, what = "", sep = "\n", quiet=TRUE)
pndIndx<-regexpr("^#", fileVecChar)
hdr <- fileVecChar[pndIndx > 0L]
tmp <- read.delim(
doc,
......@@ -106,6 +104,10 @@ importRDB1 <- function(obs_url, asDateTime=FALSE, qw=FALSE, convertType = TRUE,
fill = TRUE,
comment.char="#")
fileVecChar <- scan(obs_url, what = "", sep = "\n", quiet=TRUE)
pndIndx<-regexpr("^#", fileVecChar)
hdr <- fileVecChar[pndIndx > 0L]
dataType <- tmp[1,]
data <- tmp[-1,]
......
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