Scrapes FantasyPros ranks from the specified page (and optionally, returns metadata).

fp_rankings(page, ..., sport = NULL, include_metadata = NULL)

Arguments

page

which page

...

named arguments to pass as query parameters

sport

the sport to look up, defaults to nfl

include_metadata

logical - default FALSE (only return tibble), if TRUE returns list with both tibble and metadata

Examples

# \donttest{
if(interactive()){
fp_rankings(page = "dynasty-overall")
fp_rankings(page = "consensus-cheatsheets", year = 2017)
fp_rankings(page = "overall", sport = "nba")
fp_rankings(page = "ros-lw", sport = "nhl")
fp_rankings(page = "nl-only-ros-overall", sport = "mlb")
}
# }