This function returns a tibble of transactions

ff_transactions(conn, ...)

# S3 method for mfl_conn
ff_transactions(conn, custom_players = FALSE, ...)

Arguments

conn

the list object created by ff_connect()

...

additional args

custom_players

TRUE or FALSE - fetch custom players

Value

A tidy dataframe of transaction data

Examples

dlf_conn <- mfl_connect(2019, league_id = 37920) ff_transactions(dlf_conn)
#> # A tibble: 1,146 x 12 #> timestamp type type_desc franchise_id franchise_name player_id #> <dttm> <chr> <chr> <chr> <chr> <chr> #> 1 2019-12-19 11:56:49 FREE~ added 0003 Electric Spid~ 13868 #> 2 2019-12-19 11:56:49 FREE~ dropped 0003 Electric Spid~ 13387 #> 3 2019-12-19 03:03:13 FREE~ added 0019 Advance Repti~ 12857 #> 4 2019-12-19 03:03:13 FREE~ dropped 0019 Advance Repti~ 11186 #> 5 2019-12-19 03:02:26 FREE~ added 0019 Advance Repti~ 13868 #> 6 2019-12-19 03:02:26 FREE~ dropped 0019 Advance Repti~ 14305 #> 7 2019-12-15 17:28:15 FREE~ added 0003 Electric Spid~ 12197 #> 8 2019-12-15 17:27:28 FREE~ dropped 0003 Electric Spid~ 12623 #> 9 2019-12-15 17:27:00 FREE~ added 0003 Electric Spid~ 13387 #> 10 2019-12-15 17:26:27 IR deactiva~ 0003 Electric Spid~ 14138 #> # ... with 1,136 more rows, and 6 more variables: player_name <chr>, pos <chr>, #> # team <chr>, bbid_spent <dbl>, trade_partner <chr>, comments <chr>