getPlayerData: Combine MFL and NFL player data

Description Usage Arguments Value

Description

Retrieve data from MFL and NFL and combine

Usage

1
getPlayerData(season, weekNo, pos = position.name)

Arguments

season

The year that player data is to be retrieved from

weekNo

The weekNo that the player data is to be retrieved from

pos

A character vector with position names to be retrieved

Value

A data.table with 13 columns

playerId

NFL's ID for the player

player

Name of player

yahooId

Yahoo's ID for the player

cbsId

CBS's ID for the player

mflId

MFL's ID for the player

position

The position the player is playing

team

The team the player is playing for

draftYear

The year the player was drafted

birthData

The players birth date

rookie

A logical value indicating whether the player is a rookie

opponent

Team the player is facing next

depthChart

Number on the depth chart for the player 1 = starter

esbid

Alternate ID for player. Used for ADP/AAV data from NFL


dadrivr/ffanalytics documentation built on May 14, 2019, 3:12 p.m.