nflverse_game_id: Compute nflverse Game Identifiers

View source: R/utils_gameid.R

nflverse_game_idR Documentation

Compute nflverse Game Identifiers

Description

Compute nflverse Game Identifiers

Usage

nflverse_game_id(season, week, away, home)

Arguments

season

4 digit season between 1999 and the output of most_recent_season()

week

Numeric or character giving the week, between 1 and 22.

home, away

Valid NFL team abbreviation as it can be found in team_abbr_mapping

Value

A character vector

Examples


nflverse_game_id(2022, 2, "LAC", "KC")

nflreadr documentation built on Sept. 8, 2023, 5:57 p.m.