# Book data, Chapter 5: Heart Rate, ECG and Heart Rate Variability

The 8 example files that Chapter 5 of Data-Driven Athletics reads, under the same names the listings use.

Address: https://apopt.com/data/book/ch05-heart/  
License: CC BY 4.0  
Prepared: 2026-12-03

## Description

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 | description |
|---|---|---|---|
| [rest-ecg-10s.csv](https://apopt.com/data/book/ch05-heart/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](https://apopt.com/data/book/ch05-heart/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](https://apopt.com/data/book/ch05-heart/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](https://apopt.com/data/book/ch05-heart/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](https://apopt.com/data/book/ch05-heart/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](https://apopt.com/data/book/ch05-heart/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](https://apopt.com/data/book/ch05-heart/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](https://apopt.com/data/book/ch05-heart/workout-hr5.csv) | 6.0 KB | 416 rows | Example data used in the chapter; used by code/make_figure_data.py, chapter text |

Large files are stated with their size. A `preview.md` in this folder shows the first rows of each table.

## Provenance

- Source: Data-Driven Athletics (IRSRI, 2027), book source folder ch05-heart
- Removed: nothing; the book's example files are already de-identified
- Permission basis: Published with the book under CC BY 4.0
- Prepared with: data-repo/prepare_book.py

## Used in

- Book: [Chapter 5: Heart Rate, ECG and Heart Rate Variability](https://apopt.com/book/ch05-heart/)
- Course: [Week 5 lesson](https://apopt.com/course/week/5/)

## 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/

## Load it

```python
import pandas as pd
df = pd.read_csv("https://apopt.com/data/book/ch05-heart/rest-ecg-10s.csv")
```
