Description Usage Arguments Value Examples
View source: R/team_pitcher_boxscore.R
This function creates annual or periodical box score of the team pitching This function has options called 'yearly' or 'monthly'. default: The team's annual box score is created. If you put a year in the yearly parameter, it calculates the box score of corresponding year. If you put a month in the monthly parameter, it calculates the corresponding 'monthly' box score of every year. If you put a year and a month in each parameters, the box score of corresponding month you put in is created.
1 2  | team_pitcher_boxscore(data = kbodatamining::hanhwa_pitcher_2018,
  teamname, yearly = NULL, monthly = NULL)
 | 
data | 
 'Hanhwa_pitcher_2018' is default data. You can put another kbo pitcher data if you want.  | 
teamname | 
 The name of team you want  | 
yearly | 
 The default value is NULL. Possible value is a specific year.  | 
monthly | 
 The default value is NULL. Possible value is a specific month. The monthly parameter is a string type.  | 
The team pitching box score of the year or month put in is created.
1 2 3 4 5 6 7 8  | ## Example default: yearly=NULL, monthly=NULL
team_pitcher_boxscore(data=hanhwa_pitcher_2018,teamname="<ed><95><9c><ed><99><94>")
## yearly=2018, monthly=NULL
team_pitcher_boxscore(data=hanhwa_pitcher_2018,teamname="<ed><95><9c><ed><99><94>",yearly=2018)
## yearly=NULL, monthly="05"
team_pitcher_boxscore(data=hanhwa_pitcher_2018,teamname="<ed><95><9c><ed><99><94>",monthly="05")
## yearly=2018, monthly="05"
team_pitcher_boxscore(data=hanhwa_pitcher_2018,teamname="<ed><95><9c><ed><99><94>",yearly=2018,monthly="05")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.