get_pitching_stats: Get stats for pitchers

Description Usage Arguments Value See Also

View source: R/marcelPitching.R

Description

Gets stats for pitchers. Pulls data from Lahman::Pitching, aggregates over stints and appends primary position and age.

Usage

1
get_pitching_stats(PrimaryPosition = NULL)

Arguments

PrimaryPosition

A data frame containing primary position. If not provided, it will be generated by the function.

Value

A data frame containing pitching stats, primary position, and age. pitching stats are aggregated over all stints.

See Also

get_primary_pos combine_pitcher_stints


bdilday/marcelR documentation built on March 7, 2020, 11:02 a.m.