epa_aqs_createData: Create a 'data' dataframe with required data

View source: R/epa_aqs_createData.R

epa_aqs_createDataR Documentation

Create a 'data' dataframe with required data

Description

Create a data dataframe with EPA AQS monitoring data appropriate for use with the MazamaTimeSeries package.

The data model is that data are stored in a tibble named data with an initial datetime column and monitor-specific data in columns identified with a deviceDeploymentID that matches one found in the incoming meta table

Usage

epa_aqs_createData(AQS_data = NULL, meta = NULL, parameterCode = NULL)

Arguments

AQS_data

Table of AQS monitoring data produced with epa_aqs_parseHourlyData().

meta

Table of monitor metadata.

parameterCode

EPA "Parameter Code".

Value

Restructured tibble with data organized as timeseries columns.


pnwairfire/AirMonitorIngest documentation built on Feb. 18, 2025, 7:50 p.m.