{
 "name": "tutorial-q17-laps",
 "title": "Tutorial Q-17: Split a run into laps",
 "description": "Assign every one-second watch record to a lap from the lap start times, rebuild the watch's lap table with pauses removed, and pick out the fast repeats.",
 "homepage": "https://apopt.com/data/tutorials/q17-laps/",
 "licenses": [
  {
   "name": "CC BY 4.0",
   "path": "https://creativecommons.org/licenses/by/4.0/"
  }
 ],
 "created": "2026-12-03",
 "keywords": [
  "tutorial",
  "quick tutorial",
  "watch",
  "running",
  "laps",
  "intervals",
  "pandas"
 ],
 "resources": [
  {
   "name": "expected-printed-output.txt",
   "path": "expected/printed-output.txt",
   "url": "https://apopt.com/data/tutorials/q17-laps/expected/printed-output.txt",
   "format": "text",
   "mediatype": "text/plain",
   "bytes": 1199,
   "hash": "sha256:7484a1a548729fcfff511115ffde4e58370f915551db9b6df21de7a6247c0f20",
   "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/q17-laps/raw/2026-05-11_1507_running.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 289278,
   "hash": "sha256:57661b82fcc07179fc040ad397a3c4e27d50fb3ed2b3f45284454f0191f2ee30",
   "description": "one record a second from the instructor's run of 11 May 2026 (time, elapsed_s, distance_m, speed_mps, heart_rate_bpm, cadence, altitude and running dynamics; no positions)",
   "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": [
     ""
    ]
   }
  },
  {
   "name": "raw-laps.csv",
   "path": "raw/laps.csv",
   "url": "https://apopt.com/data/tutorials/q17-laps/raw/laps.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 14596,
   "hash": "sha256:c1ed7785a7a9de9ab3dae6bb8875f5f2083d04fd349d94423445e3b33b1eb411",
   "description": "the watch's lap summaries for all 19 runs in the case file (activity_id, lap, start_time, timer_s, distance_m, heart rate, cadence, ascent, power)",
   "rows": 176,
   "schema": {
    "fields": [
     {
      "name": "activity_id",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "lap",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "start_time",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "timer_s",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "distance_m",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "avg_hr_bpm",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "max_hr_bpm",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "avg_cadence_spm",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "ascent_m",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "descent_m",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "avg_power_w",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  }
 ],
 "sources": [
  {
   "title": "Data-Driven Athletics tutorials (IRSRI, 2027)"
  }
 ]
}
