update_statcast | R Documentation |
This function adds new statcast data to an existing statcast object.
update_statcast(sc, dates, overwrite = FALSE, verbose = TRUE)
sc |
A statcast data object |
dates |
A flexible parameter for specifying dates (see [fetch_statcast()] for more details) |
overwrite |
TRUE or FALSE: whether or not dates in |
verbose |
TRUE or FALSE: Whether or not to report messages. |
This function is useful for updating an existing statcast data object when new data becomes available.
A statcast object, with any new dates worth of data incorporated.
[fetch_statcast()]
sc <- statcast() update_statcast(sc,'2017 April 12')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.