get_adv_team_stats: Advanced team-level statistics by game

Description Usage Arguments Details

Description

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

Usage

1

Arguments

game_id

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 game table.

Details

To see variable documentation, please see the static dataset adv_team_stats. Variable documentation will be added to the function soon.


adror1/nwslR documentation built on May 4, 2021, 9:42 a.m.