aggregate_by_date_span: Aggregate meteorological data from date span.

Description Usage Arguments Value Author(s) Examples

View source: R/aggregate_by_date_span.R

Description

Given averaged data with span ranges in "date_start" and "date_end" columns and met data with "date" column, average met data over span range and append to data frame

Usage

1
aggregate_by_date_span(df, df_met, warn = TRUE, progress = NULL, ...)

Arguments

df

Data frame containing span range.

df_met

Data frame containg met data.

warn

Should the function give warnings?

progress

Depreciated as purrr::map_Df is used over plyr::adply

...

Additional arguments to pass to openair::timeAverage

Value

Data frame.

Author(s)

Will Drysdale and Stuart K. Grange

Examples

1
2
3
4
5
6
7
8
## Not run: 

# Combine GC and met data
data_all <- aggregate_by_date_span(data_gc, data_met)


## End(Not run)
 

skgrange/waclr documentation built on Sept. 11, 2019, 3:53 p.m.