# Tutorial Q-16: Open an activity file and list its fields

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.

Address: https://apopt.com/data/tutorials/q16-activity-fields/  
License: CC BY 4.0  
Prepared: 2026-12-03

## Description

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 | description |
|---|---|---|---|
| [clean/fields.csv](https://apopt.com/data/tutorials/q16-activity-fields/clean/fields.csv) | 3.5 KB | 100 rows | Cleaned copy written by the tutorial |
| [clean/records.csv](https://apopt.com/data/tutorials/q16-activity-fields/clean/records.csv) | 233.1 KB | 1,803 rows | Cleaned copy written by the tutorial |
| [clean/session.csv](https://apopt.com/data/tutorials/q16-activity-fields/clean/session.csv) | 615 B | 27 rows | Cleaned copy written by the tutorial |
| [expected/printed-output.txt](https://apopt.com/data/tutorials/q16-activity-fields/expected/printed-output.txt) | 1.7 KB |  | Everything the tutorial prints, cell by cell |
| [raw/2026-05-14_0726_running_nogps.fit](https://apopt.com/data/tutorials/q16-activity-fields/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 |

Large files are stated with their size. A `preview.md` in this folder shows the first rows of each table.

## Provenance

- Source: Data-Driven Athletics tutorials (IRSRI, 2027)
- Removed: nothing; inputs are synthetic, published course data, or the instructor's own
- Permission basis: Published with the course under CC BY 4.0
- Prepared with: dda/tutorials/build.py

## Used in

- Book: [Chapter 6: GPS Watches and Motion Sensors](https://apopt.com/book/ch06-gps-motion/)
- Course: [Week 6 lesson](https://apopt.com/course/week/6/)
- Homework H12: [https://apopt.com/course/assess/h12/](https://apopt.com/course/assess/h12/)
- Homework H13: [https://apopt.com/course/assess/h13/](https://apopt.com/course/assess/h13/)

## 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/

## Load it

```python
import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/q16-activity-fields/clean/fields.csv")
```
