apopt.com

Data / tutorials / cs07-critical-speed

Tutorial CS-7: Critical speed from a watch archive

Tutorial

Search 19 training runs for best efforts of 2 to 15 minutes, fit the speed–duration line, test it by holding out efforts and whole runs, and turn what it can and cannot say into a threshold pace.

Files for the tutorial Critical speed from a watch archive (https://apopt.com/course/tutorials/cs07-critical-speed/). 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/best_efforts.csv806 B8 rowsCleaned copy written by the tutorial
expected/printed-output.txt4.5 KBEverything the tutorial prints, cell by cell
raw/4.5 MB21 files

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/activities.csv

activity_iddatestart_localsportdevicedistance_kmmoving_time_minelapsed_time_minpace_min_per_kmavg_hr_bpmmax_hr_bpmavg_cadence_spmelevation_gain_melevation_loss_mavg_power_wlapsrecordsrecords_fileload_au
2026-04-10_1505_running2026-04-102026-04-10T15:05runningCOROS PACE Pro11.56759.9585.165.18146182168.06059246153596records/2026-04-10_1505_running.csv38.6
2026-04-11_0809_running2026-04-112026-04-11T08:09runningCOROS PACE Pro14.32669.1580.224.83124156174.04340261104150records/2026-04-11_0809_running.csv32.1
2026-05-04_1028_running2026-05-042026-05-04T10:28runningCOROS PACE Pro8.60640.6340.634.72154172174.012512727162439records/2026-05-04_1028_running.csv29.1
2026-05-04_1509_running2026-05-042026-05-04T15:09runningCOROS PACE Pro8.67447.7470.525.5138180170.010310623362864records/2026-05-04_1509_running.csv27.4
2026-05-05_0827_running2026-05-052026-05-05T08:27runningCOROS PACE Pro8.34341.85111.155.02141174174.0556925162510records/2026-05-05_0827_running.csv25.1
2026-05-06_0831_running2026-05-062026-05-06T08:31runningCOROS PACE Pro8.49846.9549.475.52149174172.0656923462818records/2026-05-06_0831_running.csv31.5
2026-05-06_1507_running2026-05-062026-05-06T15:07runningCOROS PACE Pro11.06861.7284.575.58138176166.0848922773705records/2026-05-06_1507_running.csv35.5
2026-05-08_0755_running2026-05-082026-05-08T07:55runningCOROS PACE Pro12.7266.1766.755.2134180174.0798024383971records/2026-05-08_0755_running.csv35.9

First 8 of 19 rows.

Data dictionary

ColumnUnitMeaning
timeISO 8601 UTCsample time
elapsed_sincluding pausesseconds since the run started
distance_mmcumulative distance computed by the watch
speed_mpsm/sinstantaneous speed from the watch
heart_rate_bpmbeats/minoptical heart rate at the wrist
cadence_spmsteps/minsteps a minute (both feet)
altitude_mmbarometric altitude

Where it came from

  • Source: The instructor's own watch runs (course case file athletes/jh/watch), published under his name
  • Removed: GPS coordinates, place names and device identifiers (removed in the case file before publication)
  • 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/cs07-critical-speed/raw/activities.csv")
const text = await (await fetch("https://apopt.com/data/tutorials/cs07-critical-speed/raw/activities.csv")).text();

Or download load.py / load.js.

How to cite

Tutorial CS-7: Critical speed from a watch archive. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/cs07-critical-speed/