usfootballR is an R package for working with American soccer data. The package has functions to access live play-by-play and box score data from ESPN with shot locations when available.
A scraping and aggregating interface for ESPN’s MLS and NWSL statistics. It provides users with the capability to access the API’s game play-by-plays, box scores, standings and results to analyze the data for themselves.
For more information on the package and function reference, please see the
usfootballR documentation website.
To cite the
usfootballR R package in publications, use: