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')
1 2 | scrape_fantasynerd(week = NULL, position = c("QB", "RB", "WR", "TE", "K",
"DST"))
|
week |
The week that data will be scraped for. If |
position |
The player position to scrape data for. Has to be one of
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.