This returns a table of historical trades as maintained by Lee Sharpe.

load_trades(seasons = TRUE)

Arguments

seasons

a numeric vector of seasons to return, default TRUE returns all available data.

Value

A tibble of game information for past and/or future games.

See also

Examples

# \donttest{ load_trades(2020)
#> # A tibble: 211 × 11 #> trade_id season trade_date gave received pick_season pick_round pick_number #> <dbl> <dbl> <date> <chr> <chr> <dbl> <dbl> <dbl> #> 1 1465 2020 2020-03-03 DEN JAX 2020 4 137 #> 2 1465 2020 2020-03-03 JAX DEN NA NA NA #> 3 1466 2020 2020-03-04 CAR LAC NA NA NA #> 4 1466 2020 2020-03-04 LAC CAR NA NA NA #> 5 1471 2020 2020-03-15 BAL JAX 2020 5 157 #> 6 1471 2020 2020-03-15 JAX BAL NA NA NA #> 7 1467 2020 2020-03-16 IND SF 2020 1 13 #> 8 1467 2020 2020-03-16 SF IND NA NA NA #> 9 1468 2020 2020-03-16 BUF MIN 2020 1 22 #> 10 1468 2020 2020-03-16 BUF MIN 2020 5 155 #> # … with 201 more rows, and 3 more variables: conditional <dbl>, pfr_id <chr>, #> # pfr_name <chr>
# }