Park Factors with Handedness

Description

Returns hitting park factors based on handedness

Usage

1
handedparkfactors(year, team)

Arguments

year

Season

team

Team

Details

0 = All Teams
1 = Los Angeles Angels
2 = Orioles
3 = Boston Red Sox
4 = Chicago White Sox
5 = Cleveland Indians
6 = Detroit Tigers
7 = Kansas City Royals
8 = Minnesota Twins
9 = New York Yankees
10 = Oakland Athletics
11 = Seattle Mariners
12 = Tampa Bay Rays
13 = Texas Rangers
14 = Toronto Blue Jays
15 = Arizona Diamondbacks
16 = Atlanta Braves
17 = Chicago Cubs
18 = Cincinnati Reds
19 = Colorado Rockies
20 = Florida Marlins
21 = Houston Astros
22 = Los Angeles Dodgers
23 = Milwaukee Brewers
24 = Washington Nationals
25 = New York Mets
26 = Philadelphia Phillies
27 = Pittsburgh Pirates
28 = St. Louis Cardinals
29 = San Diego Padres
30 = San Francisco Giants

Value

Returns a dataframe with park factors

Author(s)

Peter Xenopoulos

References

http://www.fangraphs.com/guts.aspx?type=pfh&teamid=0&season=2014

See Also

parkfactors

Examples

1
2
3
4
5
## To get all of 2014 Park Factors
# handedparkfactors(2014)

## To get all of the Angels' Park Factors
# handedparkfactors(2014,1)