Hello I am processing a CSV file in Rstudio that has a date column like follow for five minutes time steps;
2019-01-01 00:00:00 2019-01-01 00:05:00 2019-01-01 00:10:00 . . Time starts from the first day of January to the end of the year. and at the end of the year, this pattern will be repeated 30 times ( I am investigating the indoor temperature of 30 different homes all over the year for 5 minutes time intervals). how can I have time in a different column for my entire CSV file in Rstudio?
Can you post some example data using
dput(head(df))
?I also tried to use this code, but it produces NAs