Learn R Programming

sleeperapi (version 1.0.4)

get_league_users: Gather User Data for League

Description

Given a league ID, grab the data concerning each user. This includes information about the users' mascot, display name, avatar, if they are an owner, if they are a bot, and more.

Usage

get_league_users(league_id)

Value

Returns a data frame containing information about the users 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_league_users(688281863499907072)

Run the code above in your browser using DataLab