{"id":25692737,"url":"https://github.com/ldkrsi/cpbl-opendata","last_synced_at":"2025-06-12T21:11:50.673Z","repository":{"id":47499010,"uuid":"134431720","full_name":"ldkrsi/cpbl-opendata","owner":"ldkrsi","description":"從中職官網上爬資料並進行勘誤","archived":false,"fork":false,"pushed_at":"2025-01-26T03:39:56.000Z","size":1631,"stargazers_count":28,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-06T00:09:00.031Z","etag":null,"topics":["cpbl","open-data"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ldkrsi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-22T14:57:12.000Z","updated_at":"2025-02-01T13:17:17.000Z","dependencies_parsed_at":"2025-02-24T23:43:26.127Z","dependency_job_id":null,"html_url":"https://github.com/ldkrsi/cpbl-opendata","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ldkrsi/cpbl-opendata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldkrsi%2Fcpbl-opendata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldkrsi%2Fcpbl-opendata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldkrsi%2Fcpbl-opendata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldkrsi%2Fcpbl-opendata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ldkrsi","download_url":"https://codeload.github.com/ldkrsi/cpbl-opendata/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldkrsi%2Fcpbl-opendata/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259531185,"owners_count":22872135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpbl","open-data"],"created_at":"2025-02-24T23:33:19.831Z","updated_at":"2025-06-12T21:11:50.629Z","avatar_url":"https://github.com/ldkrsi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CPBL Opendata\n\n收集中華職棒球員的逐年成績及球隊逐年戰績\n\n從中職官網上爬資料並進行勘誤\n\n## 2023年冬盟官網重生\n\n冬盟官網在2023年度重生後整個資料換新，球員ID也一併更新。\n\n本資料集也同步重抓歷屆冬盟資料，其統計數據的改變同2021年中職官網改版。\n\n## 2021年中職官網改版\n\n中職官網在2021年5月進行大改版，年度數據統計部份作了以下的改變：\n\n1. 球員、球團的ID系統換成了另一套新的\n1. 冬季聯盟、二軍業餘隊的數據都查不到了\n1. BB 數據配合MLB標準加入了 IBB\n1. 沒有投手救援失敗(BS)的統計\n\n由於把部份非一軍的資料隱藏了，導致我沒辬法完美的將ID系統轉換過去，因此在 `players.csv` 和 `standings.csv` 保留了 `Old ID` 欄位供無法轉換ID系統的球員/球團仍可用舊的ID來對照。\n\n## 修正的錯誤\n\n1. 2020年前若有球員在一季內有轉隊，在官網上的滾地出局(GO)及飛球出局(FO)數據會有錯誤，我用出局的計算及平均分佈的方式，給這兩個數字合理的值。\n3. 修正部份球員有兩個ID的問題\n\n## 使用上的注意事項\n\n1. 本資料集所記錄的球員姓名，並不會因為球員修改登錄名而跟著變化，全是以抓資料當下所使用的姓名，本表格不保證該球員在該年度所使用登錄名的正確性。\n1. 只有`standings.csv`上寫出的球隊名稱是正確的，在其他CSV檔中所寫的球隊名不保證正確性。\n1. 中華職棒在2005年才開始有中繼成功(HLD)及救援失敗(BS)的統計，2021年拔掉BS的統計(存在於聯盟資料庫，但沒公開)。\n1. 2020年二軍業餘球隊僅有部份場次的守備數據總合，而2022年起沒有二軍業餘球隊守備數據。\n1. 2023年起二軍業餘交流賽不再併入戰績計算、個人數據統計，本資料集也從該年度停止收集二軍業餘交流賽的數字\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldkrsi%2Fcpbl-opendata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fldkrsi%2Fcpbl-opendata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldkrsi%2Fcpbl-opendata/lists"}