This function gets a table of the draft results for the current year. Can handle MFL devy drafts or startup drafts by specifying the custom_players argument

ff_draft(conn, ...)

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

Arguments

conn

a conn object created by ff_connect()

...

not sure if there'll be other params yet!

custom_players

TRUE or FALSE - retrieve custom players from the MFL database? (Devy, placeholder picks etc)

Value

A tibble of draft results

Examples

ssb_conn <- ff_connect(platform = "mfl", league_id = 54040, season = 2020) ff_draft(ssb_conn)
#> # A tibble: 57 x 10 #> timestamp round pick franchise_id franchise_name player_id #> <dttm> <chr> <chr> <chr> <chr> <chr> #> 1 2020-05-15 19:43:56 01 01 0001 Team Pikachu 14803 #> 2 2020-05-15 19:53:18 01 02 0012 Team Mewtwo 14802 #> 3 2020-05-15 19:58:24 01 03 0010 Team Yoshi 14797 #> 4 2020-05-15 21:19:59 01 04 0013 Team Ness 14800 #> 5 2020-05-16 02:47:24 01 05 0010 Team Yoshi 14799 #> 6 2020-05-16 02:48:15 01 06 0012 Team Mewtwo 14833 #> 7 2020-05-16 04:03:59 01 07 0011 Team Diddy Ko~ 14832 #> 8 2020-05-16 07:00:48 01 08 0007 Team Kirby 14839 #> 9 2020-05-16 12:38:48 01 09 0006 Team King Ded~ 14836 #> 10 2020-05-16 13:47:29 01 10 0006 Team King Ded~ 14834 #> # ... with 47 more rows, and 4 more variables: player_name <chr>, pos <chr>, #> # age <dbl>, team <chr>