This function returns a tidy dataframe with one row for every league a user is in. This requries authentication cookies for MFL usage.
ff_userleagues(conn, ...)# S3 method for flea_conn
ff_userleagues(conn = NULL, user_email = NULL, season = NULL, ...)
# S3 method for mfl_conn
ff_userleagues(conn, season = NULL, ...)
# S3 method for sleeper_conn
ff_userleagues(conn = NULL, user_name = NULL, season = NULL, ...)
a connection object created by ff_connect()
arguments that may be passed to other methods (for method consistency)
the username to look up - defaults to user created in conn if available
the season to look up leagues for
the username to look up - defaults to user created in conn if available
A tidy dataframe with one row for every league a user is in
flea_conn
: flea: returns a listing of leagues for a given user_email
mfl_conn
: MFL: With username/password, it will return a list of user leagues.
sleeper_conn
: Sleeper: returns a listing of leagues for a given user_id or user_name
fleaflicker_userleagues
to call this function for flea leagues without first creating a connection object.
sleeper_userleagues
to call this function for Sleeper leagues without first creating a connection object.