MazamaTimeSeries0.3.0 package

Core Functionality for Environmental Time Series

dot-flagOutliers

Flag outliers in vectorized data

dot-sample

General table row sampling

MazamaTimeSeries

Core functionality for environmental time series

mts_arrange

Order mts time series by metadata values

mts_check

Check mts object for validity

mts_collapse

Collapse an mts time series object into a single time series

mts_combine

Combine multiple mts time series objects

mts_distinct

Retain only distinct data records in mts$data

mts_extractDataFrame

Extract dataframes from mts objects

mts_filterData

General purpose data filtering for mts time series objects

mts_filterDate

Date filtering for mts time series objects

mts_filterDatetime

Datetime filtering for mts time series objects

mts_filterMeta

General purpose metadata filtering for mts time series objects

mts_getDistance

Calculate distances from mts time series locations to a location o...

mts_isEmpty

Test for an empty mts object

mts_isValid

Test mts object for correct structure

mts_pull

Extract a column of metadata or data

mts_sample

Sample time series for an mts time series object

mts_select

Reorder and subset time series within an mts time series object

mts_selectWhere

Data-based subsetting of time series within an mts object.

mts_setTimeAxis

Extend/contract mts time series to new start and end times

mts_slice

Subset time series based on their position

mts_summarize

Create summary time series for an mts time series object

mts_trim

Trim mts time series by removing missing values

mts_trimDate

Trim mts time series object to full days

pipe

Pipe operator

requiredMetaNames

Required columns for the 'meta' dataframe

sts_check

Check sts object for validity

sts_combine

Combine multiple sts time series objects

sts_distinct

Retain only distinct data records in sts$data

sts_extractDataFrame

Extract dataframes from sts objects

sts_filter

General purpose data filtering for sts time series objects

sts_filterDate

Date filtering for sts time series objects

sts_filterDatetime

Datetime filtering for sts time series objects

sts_isEmpty

Test for empty sts object

sts_isValid

Test sts object for correct structure

sts_summarize

Create summary time series for an sts time series object

sts_trimDate

Trim sts time series object to full days

timeInfo

Get time related information

Utility functions for working with environmental time series data from known locations. The compact data model is structured as a list with two dataframes. A 'meta' dataframe contains spatial and measuring device metadata associated with deployments at known locations. A 'data' dataframe contains a 'datetime' column followed by columns of measurements associated with each "device-deployment". Ephemerides calculations are based on code originally found in NOAA's "Solar Calculator" <https://gml.noaa.gov/grad/solcalc/>.

  • Maintainer: Jonathan Callahan
  • License: GPL-3
  • Last published: 2024-03-08