scrape_data: Scrape data from multiple sources

Description Usage Arguments Value

View source: R/scrape_data.R

Description

This function will scrape data from multiple sources.

Season data:

CBS, Yahoo, ESPN, FantasyData, FantasyPros, FantasySharks, FFToday, FleaFlicker, NFL, NumberFire, RTSports, Walterfootball

Weekly data (regular seson):

CBS, Yahoo, ESPN, FantasyData, FantasyPros, FantasySharks, FFToday, FleaFlicker, NFL, NumberFire

Weekly data (post seson):

CBS, FantasyData, FantasyPros, FantasySharks, FFToday, FleaFlicker, NumberFire

Usage

1
2
3
4
scrape_data(season = NULL, week = 0, position = c("QB", "RB", "WR", "TE",
  "K", "DST", "DL", "LB", "DB"), sources = c("CBS", "Yahoo", "ESPN",
  "FantasyData", "FantasyPros", "FantasySharks", "FFToday", "FleaFlicker",
  "NFL", "NumberFire", "RTSports", "Walterfootball"))

Arguments

season

The season data should be scraped for. If omitted then current season will be scraped

week

The week data should be scraped for. If omitted the season data will be scraped

position

The position(s) to scrape for. Select positions from: c("QB", "RB", "WR", "TE", "K", "DST", "DL", "LB", "DB"). Multiple postions are allowed.

sources

The sources to scrape for. Select sources from c("CBS", "Yahoo", "ESPN", "FantasyData", "FantasyPros", "FantasySharks", "FFToday", "FleaFlicker", "NFL","NumberFire", "RTSports", "Walterfootball"). Multiple sources are allowed.

Value

A list with one data.frame by position.


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