GetStats: This function allows you to get player stats from Yahoo...

Description Usage Arguments Value Examples

Description

This function allows you to get player stats from Yahoo sports

Usage

1
GetStats(category, year, week)

Arguments

category

Quoted string. One of 7 categories corresponding to the types of data available. Must be one of:

  • "Defense"

  • "Kicking"

  • "Passing"

  • "Punting"

  • "Receiving"

  • "Returns"

  • "Rushing"

year

Four digit year starting in 2000

week

Week of the season starting with 1 and ending with 17. Note: Post season data cannot be pulled with this function.

Value

A dataframe with the desired stats

Examples

1
GetStats("Passing",2014,1)

kuhnrl30/Touchdown documentation built on May 20, 2019, 7:06 p.m.