apopt.com

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

FileSizeRowsWhat it is
clean/fields.csv3.5 KB100 rowsCleaned copy written by the tutorial
clean/records.csv233.1 KB1,803 rowsCleaned copy written by the tutorial
clean/session.csv615 B27 rowsCleaned copy written by the tutorial
expected/printed-output.txt1.7 KBEverything the tutorial prints, cell by cell
raw/2026-05-14_0726_running_nogps.fit74.8 KBthe 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

messagefieldvaluesunitsexample
file_idtype1activity
file_idmanufacturer1coros
file_idtime_created12026-05-19 04:48:09+00:00
file_idproduct1805
file_idproduct_name1COROS PACE Pro
developer_data_idmanufacturer_id1coros
developer_data_iddeveloper_data_index10
developer_data_idapplication_id1(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/