Package: intervalaverage 0.8.0

intervalaverage: Time-Weighted Averaging for Interval Data

Perform fast and memory efficient time-weighted averaging of values measured over intervals into new arbitrary intervals. This package is useful in the context of data measured or represented as constant values over intervals on a one-dimensional discrete axis (e.g. time-integrated averages of a curve over defined periods). This package was written specifically to deal with air pollution data recorded or predicted as averages over sampling periods. Data in this format often needs to be shifted to non-aligned periods or averaged up to periods of longer duration (e.g. averaging data measured over sequential non-overlapping periods to calendar years).

Authors:Michael Young [aut, cre]

intervalaverage_0.8.0.tar.gz
intervalaverage_0.8.0.zip(r-4.7-x86_64)intervalaverage_0.8.0.zip(r-4.7-arm64)intervalaverage_0.8.0.zip(r-4.6-x86_64)intervalaverage_0.8.0.zip(r-4.6-arm64)intervalaverage_0.8.0.zip(r-4.5-x86_64)
intervalaverage_0.8.0.tgz(r-4.6-x86_64)intervalaverage_0.8.0.tgz(r-4.6-arm64)intervalaverage_0.8.0.tgz(r-4.5-x86_64)intervalaverage_0.8.0.tgz(r-4.5-arm64)
intervalaverage_0.8.0.tar.gz(r-4.7-arm64)intervalaverage_0.8.0.tar.gz(r-4.7-x86_64)intervalaverage_0.8.0.tar.gz(r-4.6-arm64)intervalaverage_0.8.0.tar.gz(r-4.6-x86_64)
intervalaverage_0.8.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
intervalaverage/json (API)

# Install 'intervalaverage' in R:
install.packages('intervalaverage', repos = c('https://myoung3.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

3.57 score 37 scripts 313 downloads 5 exports 2 dependencies

Last updated from:2edf121234. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK128
linux-devel-x86_64OK158
source / vignettesOK192
linux-release-arm64OK175
linux-release-x86_64OK134
macos-release-arm64OK231
macos-release-x86_64OK436
macos-oldrel-arm64OK210
macos-oldrel-x86_64OK364
windows-devel-arm64OK367
windows-devel-x86_64OK147
windows-release-arm64OK374
windows-release-x86_64OK119
windows-oldrel-x86_64OK110
wasm-releaseOK118

Exports:CJ.dtintervalaverageintervalintersectis.overlappingisolateoverlaps

Dependencies:data.tableRcpp

Introduction to intervalaverage
Averaging values measured over intervals | Averaging within values of a grouping variable (e.g. at multiple locations) | Values in overlapping periods are not allowed | Overlapping averaging periods | Averaging values measured over intervals: different averaging periods for different groups | Interval intersects: averaging with an address history | Interval intersects: averaging with a larger address history | interval intersects is a cartesian join

Last update: 2020-07-23
Started: 2020-07-23

Technical overview of the intervalaverage function
Motivation | Integer vs numeric intervals | This vignette | A brief description of the intervalaverage algorithm (with a focus on explaining why seemingly convoluted choices were made in the function body)

Last update: 2020-07-23
Started: 2020-07-23