Description Usage Arguments Value Source See Also Examples
Apply LRAPA correction factors to PurpleAir PM2.5 data. LRAPA established PM2.5 correction factors for PurpleAir's PM2.5 CF=ATM values. Unlike the EPA correction factors (apply_epa) which uses CF=1 PM2.5 values, the LRAPA correction factor uses CF=ATM values. More information on this variable can be found on the PurpleAir FAQ. It should also be noted that this correction factor might not apply to all airsheds, and was developed in Oregon, where (along with much of the Pacific Northwest) woodsmoke is a major contributor to PM2.5. Futhermore, this correction factor only reliably applies to PM2.5 values of ≤ 65 µg/m^3. For more information on the correction factor, see the LRAPA documentation.
1 | apply_lrapa(dataset, by_day = TRUE, by_hour = FALSE, keep_cols = FALSE)
|
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 |
keep_cols |
Logical; Keep or disgard extra columns. If FALSE, only identifying columns and LRAPA-corrected columns will remain |
Dataframe with new column for LRAPA-corrected PM2.5:
LRAPA-corrected PM2.5 value, calculated for values where PM2.5(CF=1) ≤ 65 µg/m^3 as 0.5 × PM2.5(CF=ATM) - 0.66
https://www.lrapa.org/DocumentCenter/View/4147/PurpleAir-Correction-Summary
Other PA functions:
apply_corrections()
,
apply_epa()
,
apply_functions()
,
apply_qc()
1 2 | apply_lrapa(july_api_full)
apply_lrapa(july_api_full, by_hour = TRUE, keep_cols = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.