I have a time series of CO2 data with a UNIX timestamp that looks like this: 1658759863
e.g.
df <- data.frame(timestamp=seq(1653998631,1663998631,10),co2_ppm=runif(1000001))
I then convert to POSIXct and filter data only after 11:52:51
df <- df%>%
mutate(timestamp=as.POSIXct(timestamp,origin="1970-01-01",tz = "GMT"))%>%
filter(timestamp>"2022-07-28 11:52:51" )
attr(df$timestamp,"tzone")
[1] "GMT"
When I filter it to only plot value after "11:52:00", it returns after "10:52:00"
why?
dplyr::filter()
seems to make use of per default? - falk-env