Package: stepmetrics 1.1.0

stepmetrics: Calculate Step and Cadence Metrics from Wearable Data
Provides functions to calculate step- and cadence-based metrics from timestamped accelerometer and wearable device data. Supports CSV and AGD files from 'ActiGraph' devices, CSV files from 'Fitbit' devices, and step counts derived with R package 'GGIR' <https://github.com/wadpac/GGIR>, with automatic handling of epoch lengths from 1 to 60 seconds. Metrics include total steps, cadence peaks, minutes and steps in predefined cadence bands, and time and steps in moderate-to-vigorous physical activity (MVPA). Methods and thresholds are informed by the literature, e.g., Tudor-Locke and Rowe (2012) <doi:10.2165/11599170-000000000-00000>, Barreira et al. (2012) <doi:10.1249/MSS.0b013e318254f2a3>, and Tudor-Locke et al. (2018) <doi:10.1136/bjsports-2017-097628>. The package record is also available on Zenodo (2023) <doi:10.5281/zenodo.7858094>.
Authors:
stepmetrics_1.1.0.tar.gz
stepmetrics_1.1.0.zip(r-4.7)stepmetrics_1.1.0.zip(r-4.6)stepmetrics_1.1.0.zip(r-4.5)
stepmetrics_1.1.0.tgz(r-4.6-any)stepmetrics_1.1.0.tgz(r-4.5-any)
stepmetrics_1.1.0.tar.gz(r-4.7-any)stepmetrics_1.1.0.tar.gz(r-4.6-any)
stepmetrics_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
stepmetrics/json (API)
NEWS
| # Install 'stepmetrics' in R: |
| install.packages('stepmetrics', repos = c('https://jhmigueles.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jhmigueles/stepmetrics/issues
Last updated from:7455746763. Checks:7 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | NOTE | 127 | ||
| source / vignettes | OK | 175 | ||
| linux-release-x86_64 | NOTE | 120 | ||
| macos-release-arm64 | NOTE | 82 | ||
| macos-oldrel-arm64 | NOTE | 89 | ||
| windows-devel | NOTE | 85 | ||
| windows-release | NOTE | 85 | ||
| windows-oldrel | NOTE | 68 | ||
| wasm-release | OK | 101 |
Exports:define_day_indicesget_cadence_bandsget_cadence_peaksisGGIRoutputreadFilestep.metrics
Dependencies:PhysicalActivity
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Generate sequential day indices from ISO 8601 timestamps | define_day_indices |
| Calculate minutes and steps spent in cadence bands | get_cadence_bands |
| Calculate cadence peak metrics | get_cadence_peaks |
| Check if a directory is a valid GGIR output folder for stepmetrics | isGGIRoutput |
| Read and standardize minute-level step data for one participant | readFile |
| Calculate and export daily and person-level step and cadence metrics | step.metrics |
