nflverse_game_id {nflreadr}R 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")

[Package nflreadr version 1.4.1 Index]