scrape {runexp} | R Documentation |
Scrapes the player statistics from a given URL.
scrape(url)
url |
the web address of the teams' data to scrape |
A dataframe consisting of each player's Number, NAME, AVG, OPS, AB, R, H, 2B, 3B, HR, RBI, TB, SLG SB, ATT, GP, and GS.
url <-"https://wmubroncos.com/sports/softball/stats/2019"
test <- scrape(url)
test_probs <- prob_calc(test)