pat_trimDate | R Documentation |
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
.
pat_trimDate(pat = NULL, timezone = NULL)
pat |
pat object. |
timezone |
Olson timezone used to interpret dates. |
A subset of the incoming pat time series object.
(A list with meta
and data
dataframes.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.