search for: my_data_fil

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

Did you mean: my_data_file
2011 Feb 11
2
tzone and DST
I'm reading in ~3 years worth of data that includes hourly timestamps. Presumably to avoid DST confusion, all the data is in PST time zone -- no discontinuities in the spring or fall. The data comes in a csv file, which I'm reading with myvariable <- read.csv("my_data_file.csv",header=FALSE, col.names=c("timedate","values"),colClasses=c("POSIXct","numeric")) The time zone comes in as PST or PDT, as appropriate. That leads to problems in the spring: > temps$timedate[2185:2190] [1] "2006-04-02 00:00:00 PST"...