Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > library(readr)
- > pitch_table <- read_csv("~/pitchFxScraper/pitch_table.csv")
- Parsed with column specification:
- cols(
- .default = col_character(),
- year = col_integer(),
- st_fl = col_logical(),
- regseason_fl = col_logical(),
- playoffs_fl = col_logical(),
- game_id = col_integer(),
- interleague_fl = col_logical(),
- inning = col_integer(),
- bat_home_id = col_integer(),
- park_id = col_integer(),
- pit_id = col_integer(),
- bat_id = col_integer(),
- pa_ball_ct = col_integer(),
- pa_strike_ct = col_integer(),
- outs_ct = col_integer(),
- pa_terminal_fl = col_logical(),
- pa_event_cd = col_integer(),
- start_bases_cd = col_integer(),
- end_bases_cd = col_integer(),
- event_outs_ct = col_integer(),
- ab_number = col_integer()
- # ... with 5 more columns
- )
- See spec(...) for full column specifications.
- |==================================================================| 100% 408 MB
- > View(pitch_table)
- > library(ggplot2)
Add Comment
Please, Sign In to add comment