search for: dtst

Displaying 1 result from an estimated 1 matches for "dtst".

Did you mean: dst
2012 Sep 05
2
using sqldf's read.csv.sql to read a file with "NA" for missing
...nge into NA; and it returns characters if there are NA's in the initial rows. (0 is a possible value so I can't filter out the 0's.) field.types <- list(V1='char', V2='char', V3='real', V4='int', V5='real', V6='int', V7='real') dtst <- read.csv.sql("./tmp.csv", header=FALSE, field.types=field.types, nrows=-1) str(dtst) 'data.frame': 32 obs. of 7 variables: $ V1: chr "2012-07-01" "2012-07-01" "2012-07-01" "2012-07-01" ... $ V2: chr "15:50:00" "1...