Package: Athlytics 1.0.6

Zhiang He

Athlytics: A Reproducible Framework for Endurance Data Analysis

Tools for reproducible, offline analysis of endurance-training data exported from 'Strava'. Provides data import, quality-control, cohort-reference, and visualization helpers for sports-science indicators including acute:chronic workload ratio, aerobic efficiency, cardiovascular decoupling, exposure, and personal-best profiles.

Authors:Zhiang He [aut, cre], Eunseop Kim [rev], Simon Nolte [rev]

Athlytics_1.0.6.tar.gz
Athlytics_1.0.6.zip(r-4.7)Athlytics_1.0.6.zip(r-4.6)Athlytics_1.0.6.zip(r-4.5)
Athlytics_1.0.6.tgz(r-4.6-any)Athlytics_1.0.6.tgz(r-4.5-any)
Athlytics_1.0.6.tar.gz(r-4.7-any)Athlytics_1.0.6.tar.gz(r-4.6-any)
Athlytics_1.0.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
Athlytics/json (API)

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

Reviews:rOpenSci Software Review #728

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

Pkgdown/docs site:https://docs.ropensci.org

Datasets:

On CRAN:

Conda:

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

7.45 score 62 stars 17 scripts 617 downloads 26 exports 33 dependencies

Last updated from:121d92c6fb (on main). Checks:7 NOTE, 3 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE188
pkgdown docsOK229
source / vignettesOK194
linux-release-x86_64NOTE178
macos-release-arm64NOTE158
macos-oldrel-arm64NOTE130
windows-develNOTE134
windows-releaseNOTE134
windows-oldrelNOTE129
wasm-releaseOK119

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
Introduction | 1. Data Quality Control | Basic Quality Checking | Why Quality Control Matters | 2. ACWR with EWMA Method | Comparing RA vs EWMA | Adding Confidence Bands | Technical Note: Bootstrap Method | 3. Cohort Reference Analysis | Multi-Athlete Setup | Calculate Reference Percentiles | Plot Individual vs Cohort | 4. Integrated Workflow Example | 5. Methodological Notes for Research | ACWR Method Selection | Confidence Bands Limitations | Cohort Reference Interpretation | 6. FAQ for Advanced Features | Session Info

Last update: 2026-06-15
Started: 2025-10-10

Getting Started with Athlytics
Welcome to Athlytics | Prerequisites | Installation | Your Strava Data Export | Loading Your Data | Basic Loading | Understanding the Data Structure | Data Quality Checks | Filtering Your Data | Core Analyses | 1. Training Load (ACWR) | Basic ACWR Calculation | Visualizing ACWR | Descriptive ACWR Bands | Interpreting Your ACWR | Choosing Load Metrics | Important Caveats | 2. Efficiency Factor (EF) | Calculate EF | Visualizing EF Trends | Interpreting EF | 3. Cardiovascular Decoupling | Calculate Decoupling | Visualizing Decoupling | Practical Applications | 4. Personal Bests (PBs) | Calculate PBs | Visualize PB Progression | 5. Load Exposure Analysis | Calculate and Plot Exposure | Complete Workflow Example | Troubleshooting | Common Issues | "No data returned" or empty results | "Not enough data for chronic period" | "NA values in output" | Plots look strange or empty | Getting Help | Next Steps | Advanced Features | For Researchers | Citation | Session Info

Last update: 2026-06-15
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