getCurrentRosters: Get Current estimated rosters

Description Usage Arguments Value

View source: R/scrapeRosters.R

Description

Get Current estimated rosters

Usage

1
getCurrentRosters(sleep = 30, teams = NULL, progress = TRUE)

Arguments

sleep

The amount of time to sleep between requests

teams

A list of teams to scrape. Defaults to all (as NULL)

progress

Whether to show a progress bar. Default = TRUE.

Value

a list of vectors by team, with each team's list named:

Forwards

The names of the Forwards playing

Defence

The names of the Defence playing

Goalies

The names of the Goalies playing

PP1

The first powerplay unit

PP2

The second powerplay unit

Injuries

Any players on the injury reserve

updateDate

The date the Team's page was updated


pbulsink/HockeyScrapR documentation built on Sept. 9, 2020, 9:21 a.m.