import_seasons: Import play-by-play data

View source: R/import.R

import_seasonsR Documentation

Import play-by-play data

Description

Grab all play-by-play data, not just punts. This function pulls data directly from the nflfastR-data repo, and is purely a wrapper for ease of use.

Usage

import_seasons(years)

Arguments

years

A year or range of years between 1999 and 2020, inclusive

Value

A tibble pbp containing play-by-play data for the specified years

Examples

## Not run: 
import_seasons(1999:2019)

## End(Not run)

Puntalytics/puntr documentation built on Sept. 7, 2024, 5:23 p.m.