save_statcast | R Documentation |
This function saves a statcast data object (sc
) to a specified location (output
)
save_statcast(sc, output = NA, verbose = TRUE)
sc |
A statcast data object |
output |
A character string specifying PATH to which the object will be saved. The file extension determines how the file will be saved. Options include |
verbose |
TRUE or FALSE: Whether or not to report messages. |
This function will write statcast data to disk, which can then be re-loaded into R with load_statcast()
(nothing)
[load_statcast()]
sc <- statcast() save_statcast(sc,'empty')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.