get_adv_team_stats: Advanced team-level statistics by game

get_adv_team_statsR Documentation

Advanced team-level statistics by game

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

get_adv_team_stats(game_id)

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 Oct. 4, 2022, 3:06 a.m.