apply_corrections: Apply EPA & LRAPA Correction Factors

Description Usage Arguments Value See Also Examples

View source: R/apply_corrections.R

Description

Apply EPA correction factors to PurpleAir PM2.5 data: a combination of apply_lrapa and apply_epa.

Usage

1
apply_corrections(dataset, daily = TRUE, hourly = FALSE, epa = 75)

Arguments

dataset

The dataset for which to apply the correction factors to

by_day

Logical; average data by day

by_hour

Logical; average data by hour

epa_percent

Numeric; Minimum percentage of data required to be included

keep_cols

Logical; Keep or disgard extra columns. If FALSE, only identifying columns and EPA-corrected columns will remain

Value

Dataframe with new columns for EPA-corrected and LRAPA-corrected PM2.5.

See Also

Other PA functions: apply_epa(), apply_functions(), apply_lrapa(), apply_qc()

Examples

1
2
apply_corrections(july_api_full)
## Not run: apply_corrections(july_api_full, hourly = TRUE)

gmcginnis/AirVizR documentation built on Dec. 20, 2021, 11:49 a.m.