Book data, Chapter 5: Heart Rate, ECG and Heart Rate Variability
Book example
The 8 example files that Chapter 5 of Data-Driven Athletics reads, under the same names the listings use.
Files for Heart Rate, ECG and Heart Rate Variability (Chapter 5). A listing that opens data/<name> in the book can open https://apopt.com/data/book/ch05-heart/<name> instead, or you can download the file and keep the data/ folder next to your notebook.
Some files are synthetic or simulated so the arithmetic in the text is easy to follow; the chapter says which. Real recordings for the same topics are in the athlete case files (athletes/).
Files
| File | Size | Rows | What it is |
|---|---|---|---|
| rest-ecg-10s.csv | 18.6 KB | 1,298 rows | Example data used in the chapter; used by code/make_figure_data.py, chapter text |
| rest-peaks-10s.csv | 145 B | 10 rows | Example data used in the chapter; used by code/make_figure_data.py, chapter text |
| rest-rr.csv | 7.7 KB | 478 rows | Example data used in the chapter; used by code/hrv.py, code/rpeaks.py, chapter text |
| rest-stages-3s.csv | 16.6 KB | 389 rows | Example data used in the chapter; used by code/make_figure_data.py, chapter text |
| workout-ba.csv | 5.9 KB | 416 rows | Example data used in the chapter; used by code/make_figure_data.py, chapter text |
| workout-fit.csv | 2.1 KB | 177 rows | Example data used in the chapter; used by code/make_figure_data.py, chapter text |
| workout-hr1-effort3.csv | 2.7 KB | 181 rows | Example data used in the chapter; used by code/make_figure_data.py, chapter text |
| workout-hr5.csv | 6.0 KB | 416 rows | Example data used in the chapter; used by code/make_figure_data.py, chapter text |
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 rest-ecg-10s.csv
| s | mv |
|---|---|
| 0.0071 | 0.3920 |
| 0.0148 | 0.4020 |
| 0.0225 | 0.4040 |
| 0.0302 | 0.3990 |
| 0.0379 | 0.3720 |
| 0.0456 | 0.3160 |
| 0.0533 | 0.2330 |
| 0.0610 | 0.1340 |
First 8 of 1,298 rows.
Where it came from
- Source: Data-Driven Athletics (IRSRI, 2027), book source folder ch05-heart
- Removed: nothing; the book's example files are already de-identified
- Permission: Published with the book under CC BY 4.0
- Prepared with:
data-repo/prepare_book.py
Load it
import pandas as pd
df = pd.read_csv("https://apopt.com/data/book/ch05-heart/rest-ecg-10s.csv")const text = await (await fetch("https://apopt.com/data/book/ch05-heart/rest-ecg-10s.csv")).text();Or download load.py / load.js.
How to cite
Book data, Chapter 5: Heart Rate, ECG and Heart Rate Variability. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/book/ch05-heart/