year_month_record: Record of player or team by period

Description Usage Arguments Value Examples

View source: R/year_month_record.R

Description

This function shows the baseball record of the player or team of the year and month you put in

Usage

1
year_month_record(data, name, id, recordname, year, month)

Arguments

data

KBO datas with at least one year of data

name

The name of the player or the team you want

id

The id of the player you want

recordname

The name of the record you want

year

Possible value is a specific year.

month

Possible value is a specific month.

Value

The record of the player or team during the period you put

Examples

1
2
3
## internal function - not run
# year_month_record(hanhwa_batter_2018,"<ec><9d><b4><ec><9a><a9><ea><b7><9c>",avg_formula,2018,"05")
# year_month_record(hanhwa_batter_2018,"<ed><95><9c><ed><99><94>",avg_formula,2018,"05")

choosunsick/kbodatamining documentation built on May 18, 2019, 1:30 p.m.