Scrapes NWSL website to pull team stats for each game. Returns a data frame with two rows for each game ID (home and away) as well as up to 200 different statistics depending on the game
Unique game id from nwsl. Find these on the NWSL website (ex: https://www.nwslsoccer.com/game/washington-spirit-vs-sky-blue-2019-04-13) or in the
To see variable documentation, please see the static dataset
adv_team_stats. Variable documentation will be added to the function soon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.