Description Usage Arguments Value Examples
View source: R/get_player_id.R
Matching player data and player id appropriately
1 | get_player_id(data, idlist)
|
data |
KBO batter data or KBO pitcher data. |
idlist |
appropriate id list for your data |
Player data with player id
1 2 3 4 5 6 | ## not run
## please check README
#batter_id <- read.csv("./player_id_list/batter_id_list.csv",stringsAsFactors = F)
#batter_id_2018 <- batter_id[substr(batter_id$date,1,4)==2018,]
#batter_id_hanhwa_2018 <- batter_id_2018[batter_id_2018$away=="<ed><95><9c><ed><99><94>"|batter_id_2018$home=="<ed><95><9c><ed><99><94>",]
#hanhwa_batter_2018 <- get_player_id(hanhwa_batter_2018,batter_id_hanhwa_2018)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.