nflPlayerData: Player Data from NFL.com

Description Usage Arguments Value

Description

Retrieve player data from NFL.com

Usage

1
nflPlayerData(season = 2016, weekNo = 0, positions = position.name)

Arguments

season

The year data is to be retrieved from

weekNo

The week that data is to be retrieved from

positions

A character vector of positions to be retrieved

Value

A data.table with 7 columns:

playerId

NFL's ID For the player

player

Name of player

position

NFL's position designation for the player

team

NFL Team that the player is playing for

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.