get_comp_app_data: Process Statistics for Comparison Apps

Description Usage Arguments Value Examples

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

Description

Creats Data for Bio table, Traditional Stats table, and Advanced Stats table. Then, groups statistics by level to compare players

Usage

1
get_comp_app_data(app_data_dir, app_dir, type = c("bat", "pit"))

Arguments

app_dir

character. Path to the comparison app that is being used

type

character. Whether these are batting or pitching data. Defaults to batting

dat_dir

character. Path to data cleaned by get_MLEs.

Value

nothing. Just saves the processed data

Examples

1
2
3
4
5
6
get_comp_app_data(app_data_dir = "N:/Apps/simScoresApp/data/6-for-apps/batters/",
                  app_dir = "N:/Apps/simScoresApp/b-comparison-app/",
                  type = "bat")
get_comp_app_data(app_data_dir = "N:/Apps/simScoresApp/data/6-for-apps/pitchers/",
                  app_dir = "N:/Apps/simScoresApp/p-comparison-app/",
                  type = "pit")

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