extracting_gameids: Extract GameIDs for each game in a given NFL season

Description Usage Arguments Value Examples

View source: R/ScrapingFunctionsGameURLs.R

Description

This function is a helper for the Proper.PBP.URL.Formatting function. The outputs of extracting_gameids is used in conjunction with Proper.PBP.URL.Formatting to create the URLs for each NFL game in a specified season

Usage

1
extracting_gameids(Season, playoffs = FALSE)

Arguments

Season

(numeric) A numeric 4-digit year associated with an NFL season

playoffs

(boolean) TRUE if you want the playoffs gameIDs for the specified season. FALSE (default) if you want the game IDs from the regular season

Value

A vector of NFL GameIDs from the specified season

Examples

1
2
# Scraping all game IDs from 2010 Season
extracting_gameids(2010) 

maksimhorowitz/nflscrapR documentation built on April 3, 2020, 7:40 p.m.