fetch_fixture {nrlR}R Documentation

Return the fixture for a particular round of matches

Description

fetch_fixture returns the Fixture for a given NRL Round. Internally, it calls a fetch_fixture_* function depending on the source.

By default it uses "NRL", but can be extended later to other sources.

Usage

fetch_fixture(
  season = NULL,
  round_number = NULL,
  comp = 111,
  source = "NRL",
  ...
)

fetch_fixture_nrl(season = NULL, round_number = NULL, comp = 111)

Arguments

season

Numeric. Season year (e.g. 2025).

round_number

Numeric. Round number (e.g. 4).

comp

Competition id, default 111 for Telstra NRL Premiership.

source

Source of the data ("NRL").

...

Additional arguments passed to source-specific functions.

Value

A tibble with the fixture.

Examples

## Not run: 
fetch_fixture(2025, 4)
fetch_fixture(2025, 18, source = "NRL")

## End(Not run)


[Package nrlR version 0.1.0 Index]