maxpreps_team_stats: Get team roster and statistics if available

Description Usage Arguments Value Examples

Description

Scrape the specified team's roster and statistics pages from www.maxpreps.com

Usage

1
maxpreps_team_stats(school, mascot, city, state, sport, year)

Arguments

school

string

mascot

string

city

string

state

string, two character state abbreviation, e.g. 'CA'

sport

string

year

string, in the format: 06-07, 09-10, etc.

Value

data frame

Examples

1
maxpreps_team_stats("pacific union college prep", "falcons", "angwin", "ca", "basketball", "04-05")

daranzolin/maxprepsr documentation built on May 14, 2019, 6:07 p.m.