{
 "name": "tutorial-q16-activity-fields",
 "title": "Tutorial Q-16: Open an activity file and list its fields",
 "description": "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.",
 "homepage": "https://apopt.com/data/tutorials/q16-activity-fields/",
 "licenses": [
  {
   "name": "CC BY 4.0",
   "path": "https://creativecommons.org/licenses/by/4.0/"
  }
 ],
 "created": "2026-12-03",
 "keywords": [
  "tutorial",
  "quick tutorial",
  "watch",
  "FIT file",
  "running",
  "data dictionary"
 ],
 "resources": [
  {
   "name": "clean-fields.csv",
   "path": "clean/fields.csv",
   "url": "https://apopt.com/data/tutorials/q16-activity-fields/clean/fields.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 3600,
   "hash": "sha256:062e91b973df4cc0d7afc94fa68c47622a36f49938636fc06b656ff046ac920b",
   "description": "Cleaned copy written by the tutorial",
   "rows": 100,
   "schema": {
    "fields": [
     {
      "name": "message",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "field",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "values",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "units",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "example",
      "type": "string",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "clean-records.csv",
   "path": "clean/records.csv",
   "url": "https://apopt.com/data/tutorials/q16-activity-fields/clean/records.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 238686,
   "hash": "sha256:58f80c0b6f9e499ba2982b10bcb4840dc56ea85af0810d2cc852e92e5c6b659a",
   "description": "Cleaned copy written by the tutorial",
   "rows": 1803,
   "schema": {
    "fields": [
     {
      "name": "activity_type",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "timestamp",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "distance",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "heart_rate",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "enhanced_speed",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "speed",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "stance_time",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "vertical_oscillation",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "vertical_ratio",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "step_length",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "Effort Pace",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "cadence",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "power",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "accumulated_power",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "enhanced_altitude",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "altitude",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "clean-session.csv",
   "path": "clean/session.csv",
   "url": "https://apopt.com/data/tutorials/q16-activity-fields/clean/session.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 615,
   "hash": "sha256:615a425632ce2bdef8d03d4cb02686da13571885be5a2c0ce66e921723ef6cb4",
   "description": "Cleaned copy written by the tutorial",
   "rows": 27,
   "schema": {
    "fields": [
     {
      "name": "",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "value",
      "type": "string",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "expected-printed-output.txt",
   "path": "expected/printed-output.txt",
   "url": "https://apopt.com/data/tutorials/q16-activity-fields/expected/printed-output.txt",
   "format": "text",
   "mediatype": "text/plain",
   "bytes": 1699,
   "hash": "sha256:d9bebb15a265103b8b887e6905fa59dadab1709772e3f1e93f521817521433fa",
   "description": "Everything the tutorial prints, cell by cell"
  },
  {
   "name": "raw-2026-05-14_0726_running_nogps.fit",
   "path": "raw/2026-05-14_0726_running_nogps.fit",
   "url": "https://apopt.com/data/tutorials/q16-activity-fields/raw/2026-05-14_0726_running_nogps.fit",
   "format": "fit",
   "mediatype": "application/octet-stream",
   "bytes": 76615,
   "hash": "sha256:c534646e40d8c4721d0360f3b737425be049e4db26752c754e1d01da1a592c40",
   "description": "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"
  }
 ],
 "sources": [
  {
   "title": "Data-Driven Athletics tutorials (IRSRI, 2027)"
  }
 ]
}
