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 = "none")

Arguments

df

Data frame containing span range.

df_met

Data frame containg met data.

warn

Should the function give warnings?

progress

Type of progress bar. Supply "time" for progress bar.

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)
 

wacl-york/waclr documentation built on Dec. 7, 2018, 7:59 a.m.