scrape function

Softball Webscraper

Softball Webscraper

Scrapes the player statistics from a given URL.

scrape(url)

Arguments

  • url: the web address of the teams' data to scrape

Returns

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.

Examples

url <-"https://wmubroncos.com/sports/softball/stats/2019" test <- scrape(url) test_probs <- prob_calc(test)
  • Maintainer: Annie Sauer
  • License: LGPL
  • Last published: 2021-03-22

Useful links