This function scrapes data from multiple sources and multiple positions and returns a list of tibbles with the results. Results contain raw data from the sources.

scrape_data(src = c("CBS", "ESPN", "FantasyData", "FantasyPros",
  "FantasySharks", "FFToday", "FleaFlicker", "NumberFire", "Yahoo",
  "FantasyFootballNerd", "NFL", "RTSports", "Walterfootball"), pos = c("QB",
  "RB", "WR", "TE", "K", "DST", "DL", "LB", "DB"), season = 2018, week = 0)

Arguments

src

the sources that data should be scraped from should be one or more of c("CBS", "ESPN", "FantasyData", "FantasyPros", "FantasySharks", "FFToday", "FleaFlicker", "NumberFire", "Yahoo", "FantasyFootballNerd", "NFL", "RTSports","Walterfootball")

pos

the posistions that data should be scraped for. Should be one or more of c("QB", "RB", "WR", "TE", "K", "DST", "DL", "LB", "DB")

season

The seaon for which data should be scraped. Should be set to the current season.

week

The week for which data should be scraped. Set to 0 to get season data.