Description Usage Arguments Value See Also
View source: R/marcelBatting.R
Gets stats for batters. Pulls data from Lahman:::battingStats(), aggregates over stints and appends primary position and age.
1 | get_batting_stats(PrimaryPosition = NULL)
|
PrimaryPosition |
A data frame containing primary position. If not provided, it will be generated by the function. |
A data frame containing batting stats, primary position, and age. Batting stats are aggregated over all stints.
get_primary_pos
combine_batter_stints
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.