WeeklyUpdate: WeeklyUpdate

Description Usage Arguments Format Value Source Examples

View source: R/ProjectNFL.R

Description

This is a function that will gets all games for the season, with games being played from WeeklyScores and games yet to be played from WeeklyGames

Usage

1
WeeklyUpdate(Year = 2017, WeekID = 17)

Arguments

Year

the identifier for the year of data you want (Default is 2017)

Week

the identifier for the latest week of games played you want (Default is 17)

Format

A dataset containing a varying number of rows and 5 variables

Date

Day the Game was contested

AwayTeam

The road team in the game

AwayScore

The points scored by the road team in the game (NA if score is not to be recorded)

HomeTeam

The home team in the game

HomeScore

The points scored by the home team in the game (NA if score is not to be recorded)

Value

A dataset of Scores and Games according to the format description

Source

"http://www.nfl.com/schedules"

Examples

1
2

mstuart2097/STAT585Final documentation built on May 23, 2019, 8:16 a.m.