mflPlayers: Read MFL Player Data

Description Usage Arguments Value

Description

Function to read player data from MFL using the MFL API

Usage

1
mflPlayers(season = 2016, weekNo = 0, 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 10 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


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