get_user_drafts {sleeperapi} | R Documentation |
Gather User Draft Information
Description
Given a user ID, sport abbreviation, and season number, gather draft information for that selection.
Usage
get_user_drafts(user_id, sport, season)
Arguments
user_id |
User ID generated by Sleeper (numeric) |
sport |
Sport that you would like to query ("nfl" only supported currently) (character) |
season |
Season that you would like to select (numeric) |
Value
Returns a data frame containing information about the draft(s).
Author(s)
Nick Bultman, njbultman74@gmail.com, December 2021
Examples
## Not run: get_user_drafts(688556535013502976, "nfl", 2021)
[Package sleeperapi version 1.1.1 Index]