get_matchups: Gather Matchup Data in a League for a Week

View source: R/get_matchups.R

get_matchupsR Documentation

Gather Matchup Data in a League for a Week

Description

Given a league ID and week number, grab the matchup data, including player points, total points, starting rosters, and more.

Usage

get_matchups(league_id, week)

Arguments

league_id

League ID generated by Sleeper (numeric or character)

week

Matchup week (numeric)

Value

Returns a data frame containing information about the matchups.

Author(s)

Nick Bultman, njbultman74@gmail.com, September 2021

Examples

## Not run: get_matchups(688281863499907072, 2)
## Not run: get_matchups("688281863499907072", 1)


sleeperapi documentation built on April 3, 2025, 6:13 p.m.