收集中華職棒球員的逐年成績及球隊逐年戰績
從中職官網上爬資料並進行勘誤
中職官網在2021年5月進行大改版,年度數據統計部份作了以下的改變:
- 球員、球團的ID系統換成了另一套新的
- 冬季聯盟、二軍業餘隊的數據都查不到了
- BB 數據配合MLB標準加入了 IBB
- 沒有投手救援失敗(BS)的統計
由於把部份非一軍的資料隱藏了,導致我沒辬法完美的將ID系統轉換過去,因此在 players.csv
和 standings.csv
保留了 Old ID
欄位供無法轉換ID系統的球員/球團仍可用舊的ID來對照。
- 若有球員在一季內有轉隊,在官網上的滾地出局(GO)及飛球出局(FO)數據會有錯誤,我用出局的計算及平均分佈的方式,給這兩個數字合理的值。
- 2020年二軍業餘球隊成績官方無完整建檔,我用人工補足估計打者和投手的合理數據,但大概還是錯的;守備數據直接拿官方的不完整資料,大概錯得很離譜。
- 修正部份球員有兩個ID的問題
- 本資料集所記錄的球員姓名,並不會因為球員修改登錄名而跟著變化,全是以抓資料當下所使用的姓名,本表格不保證該球員在該年度所使用登錄名的正確性。
- 只有
standings.csv
上寫出的球隊名稱是正確的,在其他CSV檔中所寫的球隊名不保證正確性。 - 中華職棒在2005年才開始有中繼成功(HLD)及救援失敗(BS)的統計。
- 2018年冬季聯盟沒有 GO、FO 的統計。
- 2021年起沒有救援失敗(BS)的統計