Learn R Programming

sleeperapi (version 1.0.4)

get_rosters: Gather Roster Data for League

Description

Given a league ID, grab the data concerning each roster in that league. This includes information with the roster wins, losses, ties, fantasy points, and more.

Usage

get_rosters(league_id)

Value

Returns a data frame containing information about the rosters in the league.

Arguments

league_id

League ID generated by Sleeper (numeric or character)

Author

Nick Bultman, njbultman74@gmail.com, September 2021

Examples

Run this code
if (FALSE) get_rosters(688281863499907072)

Run the code above in your browser using DataLab