fetch_lineups {nrlR}R Documentation

Fetch NRL Team Lineups

Description

Fetches NRL team lineups from nrl.com for a given round using a direct URL. Prints a simple CLI message about the URL being fetched.

Usage

fetch_lineups(url, source = "nrl.com", type = "team_list")

Arguments

url

Character. The full URL to the team list page on nrl.com.

source

Character. Currently only "nrl.com" is supported.

type

Character. Currently only "team_list".

Value

A tibble with game, first_name, last_name, team, role.

Examples

fetch_lineups(url = "https://www.nrl.com/news/2024/05/07/nrl-team-lists-round-10/")

[Package nrlR version 0.1.0 Index]