pat_trimDate: Trim _pat_ time series object to full days

View source: R/pat_trimDate.R

pat_trimDateR Documentation

Trim pat time series object to full days

Description

Trims the date range of a pat object to local time date boundaries which are within the range of data. This has the effect of removing partial-day data records at the start and end of the timeseries and is useful when calculating full-day statistics.

Day boundaries are calculated using the specified timezone or, if NULL, using pat$meta$timezone.

Usage

pat_trimDate(pat = NULL, timezone = NULL)

Arguments

pat

pat object.

timezone

Olson timezone used to interpret dates.

Value

A subset of the incoming pat time series object. (A list with meta and data dataframes.)


MazamaScience/AirSensor2 documentation built on Oct. 31, 2024, 1:39 a.m.