{
 "name": "tutorial-q11-data-dictionary",
 "title": "Tutorial Q-11: Write a data dictionary for one file",
 "description": "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.",
 "homepage": "https://apopt.com/data/tutorials/q11-data-dictionary/",
 "licenses": [
  {
   "name": "CC BY 4.0",
   "path": "https://creativecommons.org/licenses/by/4.0/"
  }
 ],
 "created": "2026-12-03",
 "keywords": [
  "tutorial",
  "quick tutorial",
  "watch",
  "data dictionary",
  "units",
  "missing values",
  "case file"
 ],
 "resources": [
  {
   "name": "clean-data_dictionary.csv",
   "path": "clean/data_dictionary.csv",
   "url": "https://apopt.com/data/tutorials/q11-data-dictionary/clean/data_dictionary.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 867,
   "hash": "sha256:81f34b7dfab9fc9edc11bcf924789fabf01412584c36a6b02a80715a474e2c3d",
   "description": "Cleaned copy written by the tutorial",
   "rows": 12,
   "schema": {
    "fields": [
     {
      "name": "field",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "meaning",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "unit",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "type",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "low",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "high",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "missing",
      "type": "string",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "expected-printed-output.txt",
   "path": "expected/printed-output.txt",
   "url": "https://apopt.com/data/tutorials/q11-data-dictionary/expected/printed-output.txt",
   "format": "text",
   "mediatype": "text/plain",
   "bytes": 2955,
   "hash": "sha256:f26ae6eedd8de9f38c5ec9766034b100da3522e98e0161384eb84ae968d1063f",
   "description": "Everything the tutorial prints, cell by cell"
  },
  {
   "name": "raw-2026-05-11_1507_running.csv",
   "path": "raw/2026-05-11_1507_running.csv",
   "url": "https://apopt.com/data/tutorials/q11-data-dictionary/raw/2026-05-11_1507_running.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 289278,
   "hash": "sha256:57661b82fcc07179fc040ad397a3c4e27d50fb3ed2b3f45284454f0191f2ee30",
   "description": "one 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",
   "rows": 3746,
   "schema": {
    "fields": [
     {
      "name": "time",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "elapsed_s",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "distance_m",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "speed_mps",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "heart_rate_bpm",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "cadence_spm",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "altitude_m",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "power_w",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "stance_time_ms",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "vertical_oscillation_mm",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "step_length_mm",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "temperature_c",
      "type": "string",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  }
 ],
 "sources": [
  {
   "title": "Data-Driven Athletics tutorials (IRSRI, 2027)"
  }
 ]
}
