baseballr
baseballr copied to clipboard
A package written for R focused on baseball analysis. Currently in development.
Using the code below, I am trying to get the National League standings on June 13, 1957: **bref_standings_on_date("1957-06-13", "NL Overall", from = FALSE)** **Expected behavior** I expect to see output...
I get an error 500 for this game `get_pbp_mlb(game_pk = 510008)`
- New vignette on using basic pitch data from `statcast_search_pitchers()`
**Description of the bug** When I get data from the mlb_pbp() function, there seems to be a problem in the definition of the variables indicating which player is present on...
- Adapted the existing `fg_*_leaders()` functions to pull from the team-level data, rather than the individual players. In doing so, I also removed a few of the columns that wouldn't...
In attempted to obtain the batting statistics for the 2019 season, I seemed to hit a hiccup - everything ran smoothly until 9-30-2019 through the end of the season. Every...
I really hope this is the proper avenue for submitting suggestions/requests. I am hoping that someone can create a function equivalent to ggspraychart but for graphing pitch location in the...
From my understanding, bref_daily_batter() and daily_batter_bref() only pull batter data from major league batters. Is there a way to pull from minor league batters for all players instead of from...
The output tibble from `mlb_pbp()` contains columns `count.balls.start`, and `count.strikes.start` which appear to describe the ball/strike count after the pitch was thrown. Meanwhile `count.balls.end`, and `count.strikes.end` show the count after...
This is an enhancement I'd like to contribute to create a function, similar to `viz_gb_on_period` but, to visualize the timeline of the winning-losing percentage of MLB teams on a specific...