get_matchups {sleeperapi}R 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)


[Package sleeperapi version 1.1.1 Index]