league_messages: Fantasy league teams

Description Usage Arguments Value Examples

View source: R/league-messages.R

Description

The emails, chats, notes, and messages sent by league members.

Usage

1
league_messages(lid = getOption("lid"), old = FALSE, ...)

Arguments

lid

ESPN League ID, defaults to getOption("lid"). Use options(lid = <League ID>) to set your league ID; put that line in your .Rprofile file to set the option at start up.

old

If FALSE (default), return only the current season's data. If TRUE, return a list with all prior seasons.

...

Additional API query arguments. Use "week" and "year" as a shorthand for "ScoringPeriodId" and "seasonId" respectively.

Value

A tibble of messages.

Examples

1
league_messages(lid = 252353)

fflr documentation built on Jan. 13, 2021, 5:18 p.m.