Data / tutorials / q21-sweat-rate
Tutorial Q-21: Sweat rate from two weighings
Tutorial
Turn a log of weighings before and after runs into sweat rates and body-mass losses, catch a value typed in the wrong unit, and relate sweat rate to air temperature.
Files for the tutorial Sweat rate from two weighings (https://apopt.com/course/tutorials/q21-sweat-rate/). 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
| File | Size | Rows | What it is |
|---|---|---|---|
| expected/printed-output.txt | 2.2 KB | Everything the tutorial prints, cell by cell | |
| raw/weighings_synthetic.csv | 448 B | 10 rows | SYNTHETIC weighing log, ten runs by an invented 70 kg runner (date, minutes, air_temp_c, mass_before_kg, mass_after_kg, drink_l, urine_l); one after-weight is typed in pounds |
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/weighings_synthetic.csv
| date | minutes | air_temp_c | mass_before_kg | mass_after_kg | drink_l | urine_l |
|---|---|---|---|---|---|---|
| 2027-03-01 | 60 | 8.0 | 69.9 | 69.9 | 0.49 | 0.0 |
| 2027-03-06 | 75 | 12.0 | 70.2 | 69.6 | 0.19 | 0.0 |
| 2027-03-11 | 60 | 15.0 | 69.7 | 69.1 | 0.13 | 0.0 |
| 2027-03-16 | 75 | 18.0 | 70.1 | 69.8 | 0.83 | 0.0 |
| 2027-03-21 | 60 | 20.0 | 69.8 | 68.7 | 0.24 | 0.2 |
| 2027-03-26 | 75 | 22.0 | 70.1 | 69.0 | 0.39 | 0.0 |
| 2027-03-31 | 60 | 24.0 | 70.4 | 153.0 | 0.46 | 0.2 |
| 2027-04-05 | 45 | 26.0 | 69.9 | 69.2 | 0.23 | 0.0 |
First 8 of 10 rows.
Where it came from
- Source: Data-Driven Athletics tutorials (IRSRI, 2027)
- Removed: nothing; inputs are synthetic, published course data, or the instructor's own
- 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/q21-sweat-rate/raw/weighings_synthetic.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q21-sweat-rate/raw/weighings_synthetic.csv")).text();Or download load.py / load.js.
How to cite
Tutorial Q-21: Sweat rate from two weighings. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q21-sweat-rate/