load_tracking_data: load_tracking_data

Description Usage Arguments Value Examples

View source: R/load_db.R

Description

load_tracking_data

Usage

1
load_tracking_data(src_dir = "data", week = 1, file_prefix = "week")

Arguments

src_dir

specify the working directory of the necesary files

week

week to be loaded, can be any week in the folder or all .

file_prefix

default prefix to tracking data filenames, default is week like the original 2020 databowl files Week name must look like this: week0-9+ , example:week1.csv if you want to use more than week at a time, you should look into creating a database and using dbplyr If you plan on using different play by play data, you should make sure it has the following columns: nflId, GameId,playId

Value

all connections loaded as lazy dataframes

Examples

1

ecastillomon/nflgisR documentation built on Jan. 25, 2021, 12:35 a.m.