scrape {runexp}R Documentation

Softball Webscraper

Description

Scrapes the player statistics from a given URL.

Usage

scrape(url)

Arguments

url

the web address of the teams' data to scrape

Value

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)
        

[Package runexp version 0.2.1 Index]