apopt.com

Data / book / ch05-heart

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

FileSizeRowsWhat it is
rest-ecg-10s.csv18.6 KB1,298 rowsExample data used in the chapter; used by code/make_figure_data.py, chapter text
rest-peaks-10s.csv145 B10 rowsExample data used in the chapter; used by code/make_figure_data.py, chapter text
rest-rr.csv7.7 KB478 rowsExample data used in the chapter; used by code/hrv.py, code/rpeaks.py, chapter text
rest-stages-3s.csv16.6 KB389 rowsExample data used in the chapter; used by code/make_figure_data.py, chapter text
workout-ba.csv5.9 KB416 rowsExample data used in the chapter; used by code/make_figure_data.py, chapter text
workout-fit.csv2.1 KB177 rowsExample data used in the chapter; used by code/make_figure_data.py, chapter text
workout-hr1-effort3.csv2.7 KB181 rowsExample data used in the chapter; used by code/make_figure_data.py, chapter text
workout-hr5.csv6.0 KB416 rowsExample 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

smv
0.00710.3920
0.01480.4020
0.02250.4040
0.03020.3990
0.03790.3720
0.04560.3160
0.05330.2330
0.06100.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/