apply_functions: Apply Corrections & Tags to Dataset

Description Usage Arguments Value See Also Examples

View source: R/apply_functions.R

Description

Average a dataset by specified time stamp groupings, apply correction factors (using apply_corrections, which uses apply_epa and apply_lrapa), and tag dates/hours (apply_date_tags and apply_hour_tags, respectively) as appropriate.

Usage

1
2
3
4
5
6
7
apply_functions(
  dataset,
  by_day = TRUE,
  by_hour = FALSE,
  tag_dates = run_date_grouping,
  tag_hours = run_hour_grouping
)

Arguments

dataset

The dataset for which to apply the date tags to.

by_day

Logical; Average by day

by_hour

Logical; Average by hour

tag_dates

Logical; Apply date tags

tag_hours

Logical; Apply hour tags

Value

Dataframe with new columns for corrected values and appropriate tagged values ("date_tag" and "hour_tag") containing the appropriate hour/date tag with respect to each row's timestamp.

See Also

apply_date_tags() and apply_hour_tags()

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

Examples

1
apply_functions(july_api_full, by_day = TRUE, tag_dates = FALSE, tag_hours = FALSE)

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