Data / tutorials / q16-activity-fields
Tutorial Q-16: Open an activity file and list its fields
Tutorial
Decode a running watch's binary FIT file into plain tables, list every message and field with its units, and find the pauses before any analysis.
Files for the tutorial Open an activity file and list its fields (https://apopt.com/course/tutorials/q16-activity-fields/). 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 |
|---|---|---|---|
| clean/fields.csv | 3.5 KB | 100 rows | Cleaned copy written by the tutorial |
| clean/records.csv | 233.1 KB | 1,803 rows | Cleaned copy written by the tutorial |
| clean/session.csv | 615 B | 27 rows | Cleaned copy written by the tutorial |
| expected/printed-output.txt | 1.7 KB | Everything the tutorial prints, cell by cell | |
| raw/2026-05-14_0726_running_nogps.fit | 74.8 KB | the instructor's FIT file of a 5.9 km run on 14 May 2026, as the watch wrote it except that every position value is blanked (FIT's "no value" code), 76,615 bytes |
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 clean/fields.csv
| message | field | values | units | example |
|---|---|---|---|---|
| file_id | type | 1 | activity | |
| file_id | manufacturer | 1 | coros | |
| file_id | time_created | 1 | 2026-05-19 04:48:09+00:00 | |
| file_id | product | 1 | 805 | |
| file_id | product_name | 1 | COROS PACE Pro | |
| developer_data_id | manufacturer_id | 1 | coros | |
| developer_data_id | developer_data_index | 1 | 0 | |
| developer_data_id | application_id | 1 | (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 71) |
First 8 of 100 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/q16-activity-fields/clean/fields.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q16-activity-fields/clean/fields.csv")).text();Or download load.py / load.js.
How to cite
Tutorial Q-16: Open an activity file and list its fields. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q16-activity-fields/