Man pages for BillPetti/baseballr
Functions for acquiring and analyzing baseball data

batter_boxscoreRetrieve batter boxscore data for a single game played
batter_game_logs_fgScrape Batter Game Logs from FanGraphs
code_barrelCode whether a batted ball is a "barrel" based on a Statcast...
column_structure_draft_mlbColumn Structure of MLB Draft data
daily_batter_brefScrape Batter Performance Data Over a Custom Time Frame
daily_pitcher_brefScrape Pitcher Performance Data Over a Custom Time Frame
edge_codeEdge Code
edge_frequencyEdge Percentage Frequency
edge_scrapeEdge Percentage Scrape
edge_scrape_splitScrape and Calculating Edge Percentage for Splits
fg_bat_leadersScrape Batter Leaderboards from FanGraphs
fg_gutsScrape FanGraphs.com Guts!
fg_parkScrape Park Factors from FanGraphs.com
fg_pitch_leadersScrape Pitcher Leaderboards from FanGraphs
fip_plusCalculate FIP and related metrics for any set of data
get_batting_ordersRetrieve batting orders for a given MLB game via the MLB api...
get_chadwick_luDirectly download the Chadwick Bureau's public register of...
get_draft_mlbRetrieve draft pick information by year via the MLB api <URL:...
get_game_info_mlbRetrieve additional game information for major and minor...
get_game_info_sup_pettiDownload a data frame of supplemental data about MLB games...
get_game_pks_mlbFind game_pk values for professional baseball games (major...
get_ncaa_baseball_pbpGet Play-By-Play Data for NCAA Baseball Games
get_ncaa_baseball_rosterGet NCAA Baseball Rosters
get_ncaa_game_logsGet NCAA Baseball Game Logs
get_ncaa_park_factorGet Park Effects for NCAA Baseball Teams
get_ncaa_schedule_infoGet Schedule and Results for NCAA Baseball Teams
get_pbp_mlbAcquire pitch-by-pitch data for Major and Minor League games...
get_probables_mlbRetrieve probable starters for a given MLB game via the MLB...
get_retrosheet_dataGet, Parse, and Format Retrosheet Event and Roster Files
get_umpire_ids_pettiDownload a data frame of all umpires and their mlbamids for...
ggspraychartGenerate spray charts with ggplot2
label_statcast_imputed_dataLabel Statcast data as imputed
linear_weights_savantGenerate linear weight values for events using Baseball...
master_ncaa_team_luA data set colleges and their athletic conferences and...
milb_batter_game_logs_fg# Scrape MiLB game logs for batters from Fangraphs, combining...
milb_pitcher_game_logs_fg# Scrape MiLB game logs for pitchers from Fangraphs,...
ncaa_scrapeScrape NCAA baseball data (Division I, II, and III)
ncaa_season_id_luA data set of college baseball seasons
pitcher_boxscoreRetrieve pitcher boxscore data for a single game played
pitcher_game_logs_fgScrape Pitcher Game Logs from FanGraphs
playerid_lookupLook up Baseball Player IDs
playername_lookupLook up Baseball Player Name
process_statcast_payloadProcess Baseball Savant CSV payload
run_expectancy_codeGenerate run expectancy and related measures and variables...
run_expectancy_tableGenerate run expectancy tables from Baseball Savant data
school_id_luLookup NCAA School IDs (Division I, II, and III)
scrape_savant_leaderboardsQuery BaseballSavant Leaderboards from <URL:...
scrape_statcast_savantQuery Statcast and PITCHf/x Data for data from <URL:...
standings_on_date_brefScrape MLB Standings on a Given Date
statline_from_statcastCreate statlines that include count and rate metrics for...
team_consistencyCalculate Team-level Consistency
team_results_brefScrape Team Results
viz_gb_on_periodScrape MLB Standings on a Given Period and Visualize the...
woba_plusCalcuate wOBA and related metrics for any set of data
BillPetti/baseballr documentation built on Oct. 14, 2020, 1:12 p.m.