Learn R Programming

nrlR (version 0.1.2)

fetch_fixture: 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)

Value

A tibble with the fixture.

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.

Examples

Run this code
if (FALSE) {
fetch_fixture(2025, 4)
fetch_fixture(2025, 18, source = "NRL")
}

Run the code above in your browser using DataLab