{
  "id": "cpbl-play-by-play",
  "status": "published",
  "url": "https://netscied.tw/datasets/cpbl-play-by-play/",
  "api_url": "https://netscied.tw/api/v1/datasets/cpbl-play-by-play.json",
  "markdown_url": "https://netscied.tw/datasets/cpbl-play-by-play/index.md",
  "title": {
    "zh-Hant": "中華職棒逐打席資料（野球革命開放資料）",
    "en": "CPBL play-by-play open data (Rebas)"
  },
  "description": {
    "zh-Hant": "「野球革命」（rebas.tw）在 GitHub 釋出的中華職棒原始數據，以 JSON 巢狀儲存比賽、打者成績、投手成績、打席、事件與跑者六張表，目前分季發布 2023 至 2025 年的資料（另含挑戰賽與台灣大賽）。可整理成投手與打者之間的對戰網絡（每個打席是一條連結），或球隊之間以比分決定勝負的成對比較。部分資料為人工記錄。本站只提供連結。",
    "en": "Rebas (野球革命, rebas.tw) publishes raw CPBL data on GitHub as nested JSON with six tables: game, batter box, pitcher box, plate appearance, event and runner, released per season for 2023–2025 (plus the Challenge and Taiwan Series). It yields a pitcher–batter matchup network with one link per plate appearance, and team-versus-team games as scored pairwise comparisons. Some data are recorded by hand. Link only."
  },
  "summary": {
    "zh-Hant": "「野球革命」（rebas.tw）在 GitHub 釋出的中華職棒原始數據，以 JSON 巢狀儲存比賽、打者成績、投手成績、打席、事件與跑者六張表，目前分季發布…",
    "en": "Rebas (野球革命, rebas.tw) publishes raw CPBL data on GitHub as nested JSON with six tables: game, batter box, pitcher box, plate appearance, event and runner, rel…"
  },
  "keywords": [
    "中華職棒",
    "中職",
    "CPBL",
    "野球革命",
    "rebas",
    "棒球",
    "打席",
    "投打對決",
    "baseball",
    "play-by-play",
    "pitcher-batter"
  ],
  "semantics": {
    "node": {
      "zh-Hant": "球員（打者與投手）；在比賽層級則為球隊",
      "en": "a player (batter or pitcher); at the game level, a team"
    },
    "link": {
      "zh-Hant": "一個打席：某位投手面對某位打者，記錄打席結果；在比賽層級則為兩隊之間的一場比賽與比分",
      "en": "one plate appearance between a pitcher and a batter, with its result; at the game level, one game between two teams with its score"
    }
  },
  "structure": {
    "kinds": [
      "graph",
      "pairwise-comparison"
    ],
    "directed": false,
    "weighted": false,
    "multi_edges": true,
    "partitions": {
      "count": 2,
      "names": [
        {
          "id": "batters",
          "zh-Hant": "打者",
          "en": "batters"
        },
        {
          "id": "pitchers",
          "zh-Hant": "投手",
          "en": "pitchers"
        }
      ]
    },
    "comparison": {
      "outcome": "score",
      "direction": {
        "zh-Hant": "game 表的 awayScores 與 homeScores 為客隊與主隊的每局得分",
        "en": "the game table's awayScores and homeScores give each inning's runs for the away and home team"
      }
    },
    "layers": "single",
    "temporal": {
      "form": "event-times",
      "resolution": "day"
    },
    "spatial": {
      "form": "none"
    },
    "notes": {
      "zh-Hant": "打席（PA）表含 batterName、pitcherName、catcherName、局數、球數、壘包與打席結果（results），以及勝率增加（WPA）等衍生數據。依 README，部分資料為手動紀錄，非球場儀器量測。"
    }
  },
  "structure_badges": [
    {
      "id": "graph",
      "zh-Hant": "圖（網絡）",
      "en": "graph",
      "group": "kind"
    },
    {
      "id": "pairwise-comparison",
      "zh-Hant": "成對比較",
      "en": "pairwise comparison",
      "group": "kind"
    },
    {
      "id": "undirected",
      "zh-Hant": "無向",
      "en": "undirected",
      "group": "property"
    },
    {
      "id": "bipartite",
      "zh-Hant": "二分",
      "en": "bipartite",
      "group": "property"
    },
    {
      "id": "multi_edges",
      "zh-Hant": "多重邊",
      "en": "multi-edges",
      "group": "property"
    },
    {
      "id": "temporal",
      "zh-Hant": "時序",
      "en": "temporal",
      "group": "property"
    }
  ],
  "structure_text": {
    "zh-Hant": "二分圖（網絡）（打者–投手），無向，允許多重邊，時序：事件時間（day）",
    "en": "bipartite graph (batters–pitchers), undirected, multi-edges, temporal: event times (day)"
  },
  "size": null,
  "coverage": {
    "temporal": {
      "start": "2023",
      "end": "2025",
      "ongoing": false,
      "zh-Hant": "2023–2025",
      "en": "2023–2025",
      "note": {
        "zh-Hant": "依 GitHub 發布：2023 年分上下半季，2024 與 2025 年各一包，另含挑戰賽與台灣大賽。"
      }
    },
    "spatial": {
      "zh-Hant": "臺灣",
      "en": "Taiwan"
    }
  },
  "domains": [
    {
      "id": "culture",
      "zh-Hant": "文化、媒體與運動",
      "en": "Culture, media and sport"
    }
  ],
  "tags": [
    {
      "id": "sport",
      "zh-Hant": "體育",
      "en": "sport"
    },
    {
      "id": "baseball",
      "zh-Hant": "棒球",
      "en": "baseball"
    }
  ],
  "taiwan_relevance": {
    "basis": [
      {
        "id": "about-taiwanese-entities",
        "zh-Hant": "描述臺灣的人、地方、組織或物種",
        "en": "describes Taiwanese entities"
      },
      {
        "id": "taiwan-based-creators",
        "zh-Hant": "由在臺灣的研究者建立",
        "en": "created by Taiwan-based researchers"
      }
    ],
    "justification": "記錄中華職業棒球大聯盟在臺灣舉行的比賽，由臺灣的棒球數據社群野球革命整理發布。"
  },
  "license": {
    "id": "ODC-By-1.0",
    "name": {
      "zh-Hant": "ODC 姓名標示授權條款 1.0",
      "en": "Open Data Commons Attribution License 1.0"
    },
    "url": "https://opendatacommons.org/licenses/by/1-0/",
    "class": "permissive",
    "class_label": {
      "id": "permissive",
      "zh-Hant": "寬鬆授權",
      "en": "permissive"
    },
    "statement": {
      "zh-Hant": "儲存庫的 LICENSE 檔為 Open Data Commons Attribution License (ODC-By) v1.0； README「使用原則」寫明「在標註來源的情況下，可以任意使用數據，詳細可參考 ODC-By License」。"
    },
    "evidence": {
      "url": "https://github.com/rebas-tw/rebas.tw-open-data/blob/main/LICENSE",
      "checked_on": "2026-11-04"
    }
  },
  "redistribution": {
    "basis": "link-only",
    "label": {
      "id": "link-only",
      "zh-Hant": "本站不轉載，僅提供連結",
      "en": "link only; not redistributed here"
    },
    "may_redistribute": false,
    "effective_class": "link-only",
    "note": {
      "zh-Hant": "ODC-By 允許轉載；本站目前只提供連結。"
    }
  },
  "personal_data": {
    "level": "public-role",
    "label": {
      "id": "public-role",
      "zh-Hant": "含公共角色人物的資料",
      "en": "people in public roles"
    },
    "reviewed_on": "2026-11-04",
    "notes": {
      "zh-Hant": "只含職業球員的姓名、背號與場上表現，屬公開的職業活動紀錄。"
    }
  },
  "hosted": false,
  "latest_version": null,
  "versions": [],
  "access": [
    {
      "label": {
        "zh-Hant": "GitHub Releases（各季 ZIP 檔）",
        "en": "GitHub releases (one ZIP per season)"
      },
      "url": "https://github.com/rebas-tw/rebas.tw-open-data/releases",
      "format": "zip",
      "format_label": {
        "id": "zip",
        "zh-Hant": "ZIP 壓縮檔（全部檔案）",
        "en": "ZIP archive (all files)"
      }
    },
    {
      "label": {
        "zh-Hant": "資料結構說明",
        "en": "schema documentation"
      },
      "url": "https://github.com/rebas-tw/rebas.tw-open-data/tree/main/schema",
      "format": "web",
      "format_label": {
        "id": "web",
        "zh-Hant": "網頁",
        "en": "web page"
      }
    }
  ],
  "provenance": {
    "source": {
      "name": {
        "zh-Hant": "野球革命 rebas.tw Open Data",
        "en": "rebas.tw Open Data"
      },
      "url": "https://github.com/rebas-tw/rebas.tw-open-data",
      "publisher": {
        "zh-Hant": "野球革命（rebas.tw）",
        "en": "Rebas (rebas.tw)"
      }
    },
    "method": {
      "zh-Hant": "野球革命整理中華職棒比賽紀錄，依 README 部分資料為手動紀錄；每季資料以 ZIP 壓縮檔在 GitHub Releases 發布，欄位定義見 schema 目錄。"
    },
    "checked_on": "2026-11-04",
    "retrieved_at": null
  },
  "creators": [
    {
      "organization": {
        "zh-Hant": "野球革命",
        "en": "Rebas"
      },
      "url": "https://www.rebas.tw/",
      "role": "publisher"
    }
  ],
  "credits": [],
  "references": [],
  "citation": {
    "text": "野球革命。中華職棒逐打席資料（野球革命開放資料）［資料集］。取自 https://github.com/rebas-tw/rebas.tw-open-data（2026-11-04 擷取）。收錄於 台灣網絡科學教育：https://netscied.tw/datasets/cpbl-play-by-play/",
    "bibtex": "@misc{netscied_cpbl_play_by_play,\n  author = {野球革命},\n  title = {中華職棒逐打席資料（野球革命開放資料） / CPBL play-by-play open data (Rebas)},\n  howpublished = {https://github.com/rebas-tw/rebas.tw-open-data},\n  urldate = {2026-11-04},\n  note = {Dataset; catalogued at https://netscied.tw/datasets/cpbl-play-by-play/}\n}",
    "url": "https://github.com/rebas-tw/rebas.tw-open-data"
  },
  "attribution": "中華職棒逐打席資料（野球革命開放資料），野球革命，依ODC 姓名標示授權條款 1.0授權：https://opendatacommons.org/licenses/by/1-0/",
  "related": {},
  "aliases": [],
  "added": "2026-11-04",
  "published": "2026-11-04",
  "updated": "2026-11-04"
}
