pat_join: Join PurpleAir time series data for a single sensor

Description Usage Arguments Value Note Examples

View source: R/pat_join.R

Description

Create a merged timeseries using of any number of pat objects for a single sensor. If pat objects are non-contiguous, the resulting pat will have gaps.

Usage

1

Arguments

...

Any number of valid PurpleAir Time series pat objects.

Value

A PurpleAir Time series pat object.

Note

An error is generated if the incoming pat objects have non-identical metadata.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(AirSensor)

aug01_08 <- 
  example_pat %>%
  pat_filterDate(20180801, 20180808)

aug15_22 <- 
  example_pat %>% 
  pat_filterDate(20180815, 20180822)
  
pat_join(aug01_08, aug15_22) %>%
  pat_multiPlot(plottype = "pm25")

AirSensor documentation built on March 13, 2021, 1:07 a.m.