update_apps: Updates Data and Deploys Apps with Updated Data to ShinyApps

Description Usage Arguments Value Examples

View source: R/Old wrappers/wrappers.R View source: R/wrappers.R

Description

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

Usage

1
update_apps(wd = NULL, yrs = 2005:2015, ...)

Arguments

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.

Value

nothing. Just downloads and processes data then uploads the processed data to shinyapps.io

Examples

1
update_apps(wd = "N:/Apps/simScoresApp")

guytuori/simScores documentation built on May 17, 2019, 9:29 a.m.