Create a merged timeseries using of any number of sts objects for a single sensor. If sts objects are non-contiguous, the resulting sts will have gaps.
sts_join(...)
... | Any number of valid SingleTimeSeries sts objects. |
---|
A SingleTimeSeries sts object.
An error is generated if the incoming sts objects have non-identical metadata.
library(MazamaTimeSeries) aug01_08 <- example_sts %>% sts_filterDate(20180801, 20180808) aug15_22 <- example_sts %>% sts_filterDate(20180815, 20180822) aug01_22 <- sts_join(aug01_08, aug15_22) plot(aug01_22$data$datetime)