Description Usage Arguments Value Examples
View source: R/Old wrappers/wrappers.R View source: R/wrappers.R
The use of this function is described in the "How the Updates Work" vignette. It downloads data from Japan, then cleans Japanese and PIA data. It then performs park, year, and level adjustments on the statistics. Missing data are recorded, then the data are processed for the apps. The data are saved into the appropriate folders for each app and then the updated apps are deployed to shinyapps.io
1 | update_apps(wd = NULL, yrs = 2005:2015, ...)
|
wd |
character. The location of the working directory where the apps are located. |
yrs |
numeric. The years for which to scrape Baseball-Reference data for Japan. |
nothing. Just downloads and processes data then uploads the processed data to shinyapps.io
1 | update_apps(wd = "N:/Apps/simScoresApp")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.