collect_game_urls: Collect game urls for a competition by year/season

Description Usage Arguments Value

View source: R/collectGameUrls.R

Description

Extract game urls from a rugbypass competition landing page. These urls identify an individual game and end in ".../stats/"

Usage

1
2
3
4
5
6
7
collect_game_urls(
  competitions,
  years = NULL,
  from = NULL,
  to = NULL,
  season = FALSE
)

Arguments

competitions

a vector of competitions to search, check rugby_competitions tibble for accepted values

years

a vector of years ; cannot be used with from and to

from

a year to start searching from

to

a year to search until ; from and to must be used together

season

if set to TRUE the competition is assumed to span multiple years, usually for Northern hemisphere competitions

Value

returns a list of rugbypass.com game urls


jebbd/rrugby documentation built on Jan. 15, 2021, 11:33 p.m.