Man pages for baseballr
Acquiring and Analyzing Baseball Data

baseballr-packagebaseballr: Acquiring and Analyzing Baseball Data
batter_game_logs_fg*(legacy) Scrape Batter Game Logs from FanGraphs*
bref*Baseball Reference Functions Overview*
bref_daily_batter*Scrape Batter Performance Data Over a Custom Time Frame*
bref_daily_pitcher*Scrape Pitcher Performance Data Over a Custom Time Frame*
bref_standings_on_date*Scrape MLB Standings on a Given Date*
bref_team_results*Scrape Team Results*
chadwick*Chadwick Bureau Register Player Lookup*
chadwick_player_id_lu*Look up Baseball Player IDs by Player Name*
chadwick_player_lu*Download the Chadwick Bureau's public register of baseball...
chadwick_player_name_lu*Look up Baseball Player Name by ID*
code_barrel*Helper for determining whether a batted ball is a "barrel"*
column_structure_draft_mlb*Column structure of the MLB Draft data*
csv_from_url*Load .csv / .csv.gz file from a remote connection*
daily_batter_bref*(legacy) Scrape Batter Performance Data Over a Custom Time...
daily_pitcher_bref*(legacy) Scrape Pitcher Performance Data Over a Custom Time...
edge_code*Edge Code*
edge_frequency*Edge Percentage Frequency*
fangraphs*FanGraphs Functions Overview*
fg_bat_leaders*(legacy) Scrape Batter Leaderboards from FanGraphs*
fg_batter_game_logs*Scrape Batter Game Logs from FanGraphs*
fg_batter_leaders*Scrape Batter Leaderboards from FanGraphs*
fg_guts*Scrape FanGraphs.com Guts!*
fg_milb_batter_game_logs*Scrape MiLB game logs for batters from FanGraphs*
fg_milb_pitcher_game_logs*Scrape MiLB game logs for pitchers from FanGraphs*
fg_park*Scrape Park Factors from FanGraphs*
fg_pitcher_game_logs*Scrape Pitcher Game Logs from FanGraphs*
fg_pitcher_leaders*Scrape Pitcher Leaderboards from FanGraphs*
fg_pitch_leaders*(legacy) Scrape Pitcher Leaderboards from FanGraphs*
fg_team_batter*Scrape Team Batter Leaderboards from FanGraphs*
fg_team_pitcher*Scrape Team Pitcher Leaderboards from FanGraphs*
fip_plus*Calculate FIP and related metrics for any set of data*
get_batting_orders*(legacy) Retrieve batting orders for a given MLB game*
get_draft_mlb*(legacy) Retrieve draft pick information by year*
get_game_info_mlb*(legacy) Retrieve additional game information for major and...
get_game_info_sup_petti*(legacy) Download a data frame of supplemental data about...
get_game_pks_mlb*(legacy) Get MLB Game Info by Date and Level*
get_ncaa_baseball_pbp*(legacy) Get Play-By-Play Data for NCAA Baseball Games*
get_ncaa_baseball_roster*(legacy) Get NCAA Baseball Rosters*
get_ncaa_game_logs*(legacy) Get NCAA Baseball Game Logs*
get_ncaa_lineups*(legacy) Retrieve lineups for a given NCAA game via its...
get_ncaa_park_factor*(legacy) Get Park Effects for NCAA Baseball Teams*
get_ncaa_schedule_info*(legacy) Get Schedule and Results for NCAA Baseball Teams*
get_pbp_mlb*(legacy) Acquire pitch-by-pitch data for Major and Minor...
get_probables_mlb*(legacy) Retrieve probable starters for a given MLB game*
get_retrosheet_data*(legacy) Get, Parse, and Format Retrosheet Event and Roster...
get_umpire_ids_petti*(legacy) Download a data frame of all umpires and their...
ggspraychart*Generate spray charts with ggplot2*
label_statcast_imputed_data*Label Statcast data as imputed*
linear_weights_savant*Generate linear weight values for events using Baseball...
load_game_info_sup*Download a data frame of supplemental data about MLB games...
load_ncaa_baseball_pbp*Load cleaned NCAA baseball play-by-play data from the...
load_ncaa_baseball_schedule*Load cleaned NCAA baseball schedule from the baseballr data...
load_ncaa_baseball_season_ids*Load cleaned NCAA men's college baseball season IDs from the...
load_ncaa_baseball_teams*Load cleaned NCAA men's college baseball teams from the...
load_umpire_ids*Download a data frame of all umpires and their mlbamids for...
metrics*Metrics Functions Overview*
milb_batter_game_logs_fg*(legacy) Scrape MiLB game logs for batters from FanGraphs*
milb_pitcher_game_logs_fg*(legacy) Scrape MiLB game logs for pitchers from FanGraphs*
mlb*MLB Functions Overview*
mlb_all_star_ballots*Find MLB All-Star Ballots*
mlb_all_star_final_vote*Find MLB All-Star Final Vote*
mlb_all_star_write_ins*Find MLB All-Star Write-ins*
mlb_attendance*MLB Attendance*
mlb_award*MLB All-Star, Awards, Home Run Derby Functions*
mlb_awards*MLB Awards*
mlb_awards_recipient*MLB Award Recipients*
mlb_baseball_stats*MLB Baseball Stats*
mlb_batting_orders*Retrieve batting orders for a given MLB game*
mlb_conferences*View all PCL conferences*
mlb_divisions*MLB Divisions*
mlb_draft*Retrieve draft pick information by year*
mlb_draft_latest*Retrieve latest draft information by year*
mlb_draft_prospects*Retrieve draft prospect information by year*
mlb_event_types*MLB Event Types*
mlb_fielder_detail_types*MLB Fielder Detail Types*
mlb_game_changes*Acquire time codes for Major and Minor League games*
mlb_game_content*Retrieve additional game content for major and minor league...
mlb_game_context_metrics*Acquire game context metrics for Major and Minor League...
mlb_game_info*Retrieve additional game information for major and minor...
mlb_game_linescore*Retrieve game linescores for major and minor league games*
mlb_game_pace*Retrieve game pace metrics for major and minor league*
mlb_game_pks*Get MLB Game Info by Date and Level*
mlb_game_status_codes*MLB Game Status Codes*
mlb_game_timecodes*Acquire time codes for Major and Minor League games*
mlb_game_types*MLB Game Types*
mlb_game_wp*Acquire win probability for Major and Minor League games*
mlb_high_low_stats*Acquire high/low stats for Major and Minor Leagues*
mlb_high_low_types*MLB Stat High/Low Types*
mlb_hit_trajectories*MLB Hit Trajectories*
mlb_homerun_derby*Retrieve Homerun Derby data*
mlb_homerun_derby_bracket*Retrieve Homerun Derby Bracket*
mlb_homerun_derby_players*Retrieve Homerun Derby Players*
mlb_jobs*MLB Jobs*
mlb_jobs_datacasters*MLB Jobs Datacasters*
mlb_jobs_official_scorers*MLB Jobs Official Scorers*
mlb_jobs_umpires*MLB Jobs Umpires*
mlb_job_types*MLB Job Types*
mlb_languages*MLB API Language Options*
mlb_league*MLB Leagues*
mlb_league_leader_types*MLB League Leader Types*
mlb_logical_events*MLB Logical Events*
mlb_metrics*MLB Metrics*
mlb_pbp*Acquire pitch-by-pitch data for Major and Minor League...
mlb_pbp_diff*Acquire pitch-by-pitch data between two timecodes for Major...
mlb_people*Find Biographical Information for MLB Players*
mlb_people_free_agents*Find Information About MLB Free Agents*
mlb_pitch_codes*MLB Pitch Codes*
mlb_pitch_types*MLB Pitch Types*
mlb_player_game_stats*Find MLB Player Game Stats*
mlb_player_game_stats_current*Find MLB Player Game Stats - Current Game*
mlb_player_status_codes*MLB Player Status Codes*
mlb_positions*MLB Positions*
mlb_probables*Retrieve probable starters for a given MLB game*
mlb_review_reasons*MLB Review Reasons*
mlb_rosters*Find MLB Rosters by Roster Type*
mlb_roster_types*MLB Roster Types*
mlb_runner_detail_types*MLB Runner Detail Types*
mlb_schedule*Find game_pk values for professional baseball games (major...
mlb_schedule_event_types*MLB Schedule Event Types*
mlb_schedule_games_tied*Find game_pk values for professional baseball games (major...
mlb_schedule_postseason*Find game_pk values for professional baseball postseason...
mlb_schedule_postseason_series*Find game_pk values for professional baseball postseason...
mlb_seasons*Find MLB Seasons*
mlb_seasons_all*Find MLB Seasons all*
mlb_situation_codes*MLB Situation Codes*
mlb_sky*MLB Sky (Weather) Codes*
mlb_sports*MLB Sport IDs*
mlb_sports_info*MLB Sport IDs Information*
mlb_sports_players*MLB Sport Players*
mlb_standings*MLB Standings*
mlb_standings_types*MLB Standings Types*
mlb_stat_groups*MLB Stat Groups*
mlb_stats*MLB Stats*
mlb_stats_leaders*MLB Stats Leaders*
mlb_stat_types*MLB Stat Types*
mlb_team_affiliates*MLB Team Affiliates*
mlb_team_alumni*MLB Team Alumni*
mlb_team_coaches*MLB Team Coaches*
mlb_team_history*MLB Teams History*
mlb_team_info*MLB Team Info*
mlb_team_leaders*MLB Team Leaders*
mlb_team_personnel*MLB Team Personnel*
mlb_teams*MLB Teams*
mlb_teams_stats*MLB Teams Stats*
mlb_teams_stats_leaders*MLB Teams Stats Leaders*
mlb_team_stats*MLB Team Individual Stats*
mlb_venues*Find MLB Venues*
mlb_wind_direction_codes*MLB Wind Direction Codes*
most_recent_mlb_season*Most Recent MLB Season*
most_recent_ncaa_baseball_season*Most Recent NCAA Baseball Season*
ncaa*NCAA Functions Overview*
ncaa_game_logs*Get NCAA Baseball Game Logs*
ncaa_lineups*Retrieve lineups for a given NCAA game via its...
ncaa_park_factor*Get Park Effects for NCAA Baseball Teams*
ncaa_pbp*Get Play-By-Play Data for NCAA Baseball Games*
ncaa_roster*Get NCAA Baseball Rosters*
ncaa_schedule_info*Get Schedule and Results for NCAA Baseball Teams*
ncaa_school_id_lu*Lookup NCAA baseball school IDs (Division I, II, and III)*
ncaa_scrape*(legacy) Scrape NCAA baseball Team Player Stats (Division I,...
ncaa_team_player_stats*Scrape NCAA baseball Team Player Stats (Division I, II, and...
ncaa_teams*Scrape NCAA baseball Teams (Division I, II, and III)*
pitcher_game_logs_fg*(legacy) Scrape Pitcher Game Logs from FanGraphs*
process_statcast_payload*Process Baseball Savant CSV payload*
progressively*Progressively*
rds_from_url*Load .rds file from a remote connection*
request_with_proxy*Retry http request with proxy*
retrosheet_data*Get, Parse, and Format Retrosheet Event and Roster Files*
run_expectancy_code*Generate run expectancy and related measures from Baseball...
school_id_lu*(legacy) Lookup NCAA baseball school IDs (Division I, II,...
scrape_savant_leaderboards*(legacy) Query Baseball Savant Leaderboards*
scrape_statcast_savant*(legacy) Query Statcast by Date Range and Players*
sptrc_league_payrolls*Scrape League Payroll Breakdowns from Spotrac*
sptrc_team_active_payroll*Scrape Team Active Payroll Breakdown from Spotrac*
standings_on_date_bref*(legacy) Scrape MLB Standings on a Given Date*
statcast*Statcast Functions Overview*
statcast_impute*Statcast Label Imputation*
statcast_leaderboards*Query Baseball Savant Leaderboards*
statcast_search*Query Statcast by Date Range and Players*
statline_from_statcast*Create stat lines from Statcast data*
stats_api_live_empty_df*Column structure of MLB Stats Live Game API data frame*
team_consistency*Calculate Team-level Consistency*
team_results_bref*(legacy) Scrape Team Results*
teams_lu_table*A Team Lookup Table*
woba_plus*Calculate wOBA and related metrics for any set of data*
baseballr documentation built on April 1, 2023, 12:12 a.m.