Learn R Programming

ffsimulator (version 1.2.3)

ffs_starter_positions: Get league starter positions

Description

This function lightly wraps ffscrapr::ff_starter_positions() and cleans up some abbreviations (PK -> K)

Usage

ffs_starter_positions(conn)

Value

A tidy dataframe of positional lineup rules, one row per position with minimum and maximum starters as well as total starter calculations.

Arguments

conn

a connection object as created by ffscrapr::ff_connect() and friends.

Examples

Run this code
# \donttest{
# cached examples
try({ # try block to prevent CRAN-related issues
conn <- .ffs_cache("mfl_conn.rds")
ffs_starter_positions(conn)
})
# }

Run the code above in your browser using DataLab