cwsub: Player substitution descriptor¶
cwsub extracts information about in-game player substitutions. It is designed to be used in conjunction with cwevent to mitigate a blind spot in the existing tools.
cwsub outputs up to ten pieces of information about each substitution. All are included by default; which ones are generated is controlled by the -f switch.
| Field number | Description | Header |
|---|---|---|
| 0 | Game ID | GAME_ID |
| 1 | Inning | INN_CT |
| 2 | Batting team | BAT_HOME_ID |
| 3 | Substitute | SUB_ID |
| 4 | Team | SUB_HOME_ID |
| 5 | Lineup position | SUB_LINEUP_ID |
| 6 | Fielding position | SUB_FLD_CD |
| 7 | Removed player | REMOVED_ID |
| 8 | Position of removed player | REMOVED_FLD_CD |
| 9 | Event number | EVENT_ID |