apopt.com

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

FileSizeRowsWhat it is
expected/printed-output.txt2.2 KBEverything the tutorial prints, cell by cell
raw/weighings_synthetic.csv448 B10 rowsSYNTHETIC 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

dateminutesair_temp_cmass_before_kgmass_after_kgdrink_lurine_l
2027-03-01608.069.969.90.490.0
2027-03-067512.070.269.60.190.0
2027-03-116015.069.769.10.130.0
2027-03-167518.070.169.80.830.0
2027-03-216020.069.868.70.240.2
2027-03-267522.070.169.00.390.0
2027-03-316024.070.4153.00.460.2
2027-04-054526.069.969.20.230.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/