Skip to contents

usfootballR Data

MLS Data Functions

Functions exported by usfootballR to access the usfootballR-data repository’s MLS Data

load_mls_pbp()
Load usfootballR MLS play-by-play
load_mls_team_box()
Load usfootballR MLS team box scores
load_mls_player_box()
Load usfootballR MLS player box scores
load_mls_schedule()
Load usfootballR MLS schedules
update_mls_db()
Update or create a usfootballR play-by-play database

NWSL Data Functions

Functions exported by usfootballR to access the usfootballR-data repository’s NWSL Data

load_nwsl_pbp()
Load usfootballR NWSL play-by-play
load_nwsl_team_box()
Load usfootballR NWSL team box scores
load_nwsl_player_box()
Load usfootballR NWSL player box scores
load_nwsl_schedule()
Load usfootballR NWSL schedules
update_nwsl_db()
Update or create a usfootballR play-by-play database

ESPN Data

MLS Data Functions

Functions exported by usfootballR to access ESPN’s MLS Data

espn_mls_game_all()
Get ESPN's MLS game data (play-by-play, team)
espn_mls_pbp()
Get ESPN's MLS play by play data
espn_mls_scoreboard()
Get MLS schedule for a specific year/date from ESPN's API
espn_mls_standings()
Get ESPN MLS Standings
espn_mls_team_box()
Get ESPN's MLS team box data
espn_mls_teams()
Get ESPN's MLS team names and ids

NWSL Data Functions

Functions exported by usfootballR to access ESPN’s NWSL Data

espn_nwsl_game_all()
Get ESPN's NWSL game data (play-by-play, team)
espn_nwsl_pbp()
Get ESPN's NWSL play by play data
espn_nwsl_scoreboard()
Get NWSL schedule for a specific year/date from ESPN's API
espn_nwsl_standings()
Get ESPN NWSL Standings
espn_nwsl_team_box()
Get ESPN's NWSL team box data
espn_nwsl_teams()
Get ESPN's NWSL team names and ids

Helpers

Helper Functions

Functions used internally by usfootballR which assist in transforming or loading data

csv_from_url()
Load .csv / .csv.gz file from a remote connection
rds_from_url()
Load .rds file from a remote connection
progressively()
Progressively