apopt.com

Data / tutorials / cs09-fitness-fatigue

Tutorial CS-9: A season of load: fitness, fatigue, and a taper

Tutorial

Turn two and a half years of an athlete's multi-sport watch history into a heart-rate load for every day and a fortnightly performance measure, fit Banister's fitness–fatigue model on 2024–25 and test it on 2026, and find out how little it can say about when to taper.

Files for the tutorial A season of load: fitness, fatigue, and a taper (https://apopt.com/course/tutorials/cs09-fitness-fatigue/). raw/ holds the inputs as the device or app wrote them; clean/ holds the cleaned copies the tutorial writes; expected/ holds what a correct run prints and saves, so you can check your own run.

Files

FileSizeRowsWhat it is
clean/change_log.csv176 B5 rowsCleaned copy written by the tutorial
clean/performance.csv2.5 KB61 rowsCleaned copy written by the tutorial
clean/performance_runs.csv28.6 KB332 rowsCleaned copy written by the tutorial
expected/printed-output.txt2.8 KBEverything the tutorial prints, cell by cell
raw/sessions_fit.csv114.5 KB693 rows693 activity summaries from June 2024 to November 2026, one row per activity, the FIT session fields in the watch's own names and units (times in s, distance in m, start in UTC plus a clock offset, running cadence for one foot); runs, elliptical, swims, rides, hikes and walks, heart rate on 687

Every file has its own fixed address: copy a link and load it directly. preview.md shows the first rows of each table as text; datapackage.json lists columns, sizes and checksums.

Preview of raw/sessions_fit.csv

activity_idstart_timeutc_offset_hsportsub_sporttotal_timer_timetotal_elapsed_timetotal_distanceenhanced_avg_speedenhanced_max_speedavg_heart_ratemax_heart_ratemin_heart_rateavg_running_cadencemax_running_cadenceavg_cadencetotal_stridesavg_step_lengthavg_stance_timeavg_vertical_oscillationavg_vertical_ratioavg_powertotal_ascenttotal_descenttotal_caloriesavg_temperaturepool_lengthnum_active_lengthsEffort Pace
2024-06-28_0719_running2024-06-28T13:19:52Z-6.0running2355.333306.936663.452.8293.861168185106861053309980.00.00.00.011848452532.8980000019073486
2024-06-29_1855_swimming2024-06-30T00:55:25Z-6.0swimming570.82576.521.620.0380.98117802758
2024-07-04_0624_running2024-07-04T12:24:39Z-6.0running652.741495.91422.162.1793.1851451655377105829840.00.00.00.090315512.1589999198913574
2024-07-04_0650_running2024-07-04T12:50:13Z-6.0running1289.691877.085003.113.8795.3761711881309012719381280.00.00.00.016227151333.9679999351501465
2024-07-06_0739_running2024-07-06T13:39:37Z-6.0running4338.154727.910623.632.4494.34815918195771105529950.00.00.00.01031651823992.5439999103546143
2024-07-08_0734_running2024-07-08T13:34:23Z-6.0running375.49375.51606.044.2775.464186202124941045931360.00.00.00.01788981204.309999942779541
2024-07-09_0725_hiking2024-07-09T13:25:50Z-6.0hiking6592.686592.695729.90.8694.9441151637546630.00.00.00.0025226833126
2024-07-10_0727_running2024-07-10T13:27:47Z-6.0running3972.563972.568877.112.2353.497147166109791105227840.00.00.00.0945858498252.2769999504089355

First 8 of 693 rows.

Data dictionary

ColumnUnitMeaning
start_timeISO 8601 UTCstart time
utc_offset_hhlocal clock minus UTC
sport—FIT sport
sub_sport—FIT sub-sport
total_timer_timestimer time, pauses excluded
total_distancemdistance
avg_heart_ratebeats/minaverage heart rate (optical, wrist)
max_heart_ratebeats/minmaximum heart rate
avg_running_cadencestrides/minrunning cadence for ONE foot (× 2 for steps/min)
Effort Pacem/sthe watch's hill-adjusted speed (developer field; formula not published)

Where it came from

  • Source: COROS Training Hub archive of an adult male athlete in his mid-40s (course case file athletes/jh/coros-history), session summaries only
  • Removed: every GPS position and all per-second records, the archive's activity ids and file names, and device and account identifiers were removed in the case file
  • Permission: Published with the course under CC BY 4.0
  • Prepared with: dda/tutorials/build.py

Load it

import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/cs09-fitness-fatigue/raw/sessions_fit.csv")
const text = await (await fetch("https://apopt.com/data/tutorials/cs09-fitness-fatigue/raw/sessions_fit.csv")).text();

Or download load.py / load.js.

How to cite

Tutorial CS-9: A season of load: fitness, fatigue, and a taper. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/cs09-fitness-fatigue/