Package: Athlytics 1.0.4

Zhiang He

Athlytics: Academic R Package for Sports Physiology Analysis from Local 'Strava' Data

An open-source computational framework for longitudinal analysis of exercise physiology metrics using local 'Strava' data exports. Designed for personal analysis and sports science applications, this package provides standardized functions to calculate and visualize key physiological indicators including Acute:Chronic Workload Ratio (ACWR), Efficiency Factor (EF), and training load metrics.

Authors:Zhiang He [aut, cre]

Athlytics_1.0.4.tar.gz
Athlytics_1.0.4.zip(r-4.6)Athlytics_1.0.4.zip(r-4.5)Athlytics_1.0.4.zip(r-4.4)
Athlytics_1.0.4.tgz(r-4.6-any)Athlytics_1.0.4.tgz(r-4.5-any)
Athlytics_1.0.4.tar.gz(r-4.6-any)Athlytics_1.0.4.tar.gz(r-4.5-any)
Athlytics_1.0.4.tgz(r-4.5-emscripten)
Athlytics.pdf |Athlytics.html
Athlytics/json (API)
NEWS

# Install 'Athlytics' in R:
install.packages('Athlytics', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org'))

Reviews:rOpenSci Software Review #728

Bug tracker:https://github.com/ropensci/athlytics/issues

Pkgdown/docs site:https://ropensci.github.io

Datasets:

On CRAN:

Conda:

activity-trackingacute-chronic-workload-ratioaerobic-decouplingcohort-analysisefficiency-factorendurance-trainingewmaexercise-physiologyggplot2gpx-tcx-fitrolling-averagesports-analyticstidyversetraining-loadtrimp

6.60 score 62 stars 23 scripts 584 downloads 26 exports 33 dependencies

Last updated from:8e5e3ee80d (on main). Checks:10 OK. Indexed: no.

TargetResultTotal timeArtifact
linux-devel-x86_64OK172
pkgdown docsOK215
source / vignettesOK194
linux-release-x86_64OK189
macos-devel-arm64OK150
macos-release-arm64OK119
windows-develOK160
windows-releaseOK118
windows-oldrelOK107
wasm-releaseOK137

Exports:add_reference_bandsathlytics_palette_natureathlytics_palette_vibrantcalculate_acwrcalculate_acwr_ewmacalculate_cohort_referencecalculate_decouplingcalculate_efcalculate_ef_from_streamcalculate_exposurecalculate_pbscohort_referenceflag_qualityload_local_activitiesparse_activity_fileplot_acwrplot_acwr_comparisonplot_acwr_enhancedplot_decouplingplot_efplot_exposureplot_pbsplot_with_referencequality_summarysummarize_qualitytheme_athlytics

Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclelubridatemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithrzoo

Advanced Features: EWMA, Quality Control, and Cohort Analysis

Rendered fromadvanced_features.Rmdusingknitr::rmarkdownon Feb 20 2026.

Last update: 2026-02-07
Started: 2025-10-10

Getting Started with Athlytics

Rendered fromathlytics_introduction.Rmdusingknitr::rmarkdownon Feb 20 2026.

Last update: 2026-02-20
Started: 2025-10-10

Readme and manuals

Help Manual

Help pageTopics
Add Cohort Reference Bands to Existing Plotadd_reference_bands
Nature-Inspired Color Paletteathlytics_palette_nature
Vibrant High-Contrast Paletteathlytics_palette_vibrant
Calculate Acute:Chronic Workload Ratio (ACWR)calculate_acwr
Calculate ACWR using EWMA Method with Confidence Bandscalculate_acwr_ewma
Calculate Cohort Reference Percentilescalculate_cohort_reference cohort_reference
Calculate Aerobic Decouplingcalculate_decoupling
Calculate Efficiency Factor (EF)calculate_ef
Calculate EF from Stream Data with Steady-State Analysiscalculate_ef_from_stream
Calculate Training Load Exposure (ATL, CTL, ACWR)calculate_exposure
Calculate Personal Bests (PBs) from Local Strava Datacalculate_pbs
Flag Data Quality Issues in Activity Streamsflag_quality
Load Activities from Local Strava Exportload_local_activities
Parse Activity File (FIT, TCX, or GPX)parse_activity_file
Plot ACWR Trendplot_acwr
Compare RA and EWMA Methods Side-by-Sideplot_acwr_comparison
Enhanced ACWR Plot with Confidence Bands and Referenceplot_acwr_enhanced
Plot Aerobic Decoupling Trendplot_decoupling
Plot Efficiency Factor (EF) Trendplot_ef
Plot Training Load Exposure (ATL vs CTL)plot_exposure
Plot Personal Best (PB) Trendsplot_pbs
Plot Individual Metric with Cohort Referenceplot_with_reference
Sample ACWR Data for Athlyticssample_acwr
Sample Aerobic Decoupling Data for Athlyticssample_decoupling
Sample Efficiency Factor (EF) Data for Athlyticssample_ef
Sample Training Load Exposure Data for Athlyticssample_exposure
Sample Personal Bests (PBs) Data for Athlyticssample_pbs
Get Quality Summary Statisticsquality_summary summarize_quality
Get Athlytics Themetheme_athlytics