| Player | R Documentation |
Player Class
An R6Class generator object
full_nameFull Name character
positionPosition character
mlb_idMlb Id integer
debut_dateDebut Date character
team_idTeam Id integer
team_abbrevTeam Abbrev character
activeActive character
bat_sideBat Side character
pitch_handPitch Hand character
birth_countryBirth Country character
birth_dateBirth Date character
current_ageCurrent Age integer
photo_urlPhoto Url character
new()Player$new( full_name, position, mlb_id, debut_date, team_id, team_abbrev, active, bat_side, pitch_hand, birth_country, birth_date, current_age, photo_url, ... )
toJSON()Player$toJSON()
fromJSON()Player$fromJSON(PlayerJson)
toJSONString()Player$toJSONString()
fromJSONString()Player$fromJSONString(PlayerJson)
clone()The objects of this class are cloneable with this method.
Player$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.