data_capture: Filter observations data to only include sites with...

Description Usage Arguments Value

Description

Filter observations data to only include sites with sufficient data capture

Usage

1
data_capture(data, threshold, start.date = NULL, end.date = NULL)

Arguments

data

A data frame of observation data with the columns: site_code, date, value (i.e. the same as the column names in the observations table of the air_quality_data database).

threshold

A value between 0-100 specifying the data capture threshold by which to filter the data

start.date, end.date

A string in the format "YYYY-MM-DD" specifying the starting date and the ending date between which to measure data capture.

Value

Data frame of observation data filtered by data capture over the defined period


pollylang/aqtrends documentation built on May 20, 2019, 8:24 p.m.