get_fantasypros_projections: Get dfs player projections from fantasypros.com

Description Usage Arguments Value

View source: R/get_fantasypros_projections.R

Description

Get dfs player projections from fantasypros.com

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get_fantasypros_projections(
  sport = NULL,
  from_csv = NULL,
  supported_sports = c("nfl"),
  scraped_headers = c("rank", "wsis", "name", "opp", "best", "worst", "avg", "stdev",
    "proj", "notes"),
  csv_headers = c("RK", "PLAYER NAME", "TEAM", "OPP", "MATCHUP (?)", "START/SIT",
    "PROJ. FPTS"),
  nfl_positions = c("qb", "rb", "wr", "te", "dst")
)

Arguments

sport

character, which sport to use? supports nfl so far, with nba on the way

from_csv

character, if not NULL then path to the csv or csv's with projections

supported_sports

character vector of leagues supported

csv_headers

character, names of the columns in rotogrinders csv's

nfl_positions

character, position names

Value

data.frame of players and projections for selected platform


jimtheflash/dfstools documentation built on Dec. 19, 2020, 9:44 a.m.