apopt.com

Data / tutorials / q11-data-dictionary

Tutorial Q-11: Write a data dictionary for one file

Tutorial

Write a data dictionary for one of the instructor's per-second watch files, with units, allowed ranges and missing-value codes, before looking at the values, then count which rows break which rule.

Files for the tutorial Write a data dictionary for one file (https://apopt.com/course/tutorials/q11-data-dictionary/). 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
clean/data_dictionary.csv867 B12 rowsCleaned copy written by the tutorial
expected/printed-output.txt2.9 KBEverything the tutorial prints, cell by cell
raw/2026-05-11_1507_running.csv282.5 KB3,746 rowsone second-by-second record of a 10.5 km run (3,746 rows, 12 columns), as converted from the watch's FIT file with GPS positions removed

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/2026-05-11_1507_running.csv

timeelapsed_sdistance_mspeed_mpsheart_rate_bpmcadence_spmaltitude_mpower_wstance_time_msvertical_oscillation_mmstep_length_mmtemperature_c
2026-05-11T21:07:12Z0.00.0
2026-05-11T21:07:13Z1.00.087
2026-05-11T21:07:14Z2.00.088
2026-05-11T21:07:15Z3.00.00.442880.00.0260.0
2026-05-11T21:07:16Z4.00.00.592890.00.0340.0
2026-05-11T21:07:17Z5.00.01.14290144320.00.0630.0
2026-05-11T21:07:18Z6.00.01.692901861436.0440.00.0920.0
2026-05-11T21:07:19Z7.03.51.919911841436.0840.00.0810.0

First 8 of 3,746 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/q11-data-dictionary/raw/2026-05-11_1507_running.csv")
const text = await (await fetch("https://apopt.com/data/tutorials/q11-data-dictionary/raw/2026-05-11_1507_running.csv")).text();

Or download load.py / load.js.

How to cite

Tutorial Q-11: Write a data dictionary for one file. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q11-data-dictionary/