scrape_fantasynerd: Scrape data from FantasyFootballNerd

Description Usage Arguments

View source: R/scrape_nerd.R

Description

Use this function to srape fantasy football projections from FantasyFootballNerd. The function uses the FantasyFootball Nerd API. If you don't have an API key to use for this you will not get accuracte results. You can register for an API key at fantasyfootballnerd.com. You set the API key for this scrape via options('ffdata.ffn_api' = 'apikey')

Usage

1
2
scrape_fantasynerd(week = NULL, position = c("QB", "RB", "WR", "TE", "K",
  "DST"))

Arguments

week

The week that data will be scraped for. If = 0 or omitted season data will be scraped

position

The player position to scrape data for. Has to be one of c("QB", "RB", "WR", "TE", "K", "DST"). If omitted QB data will be scraped.


MrDAndersen/ff.datascrape documentation built on May 17, 2019, 5:44 p.m.