build_teams_tables: Build teams tables

Description Usage Arguments

View source: R/build-teams-tables.R

Description

The internals here are hard-coded, as this is not meant to be something used outside of the current process, at the moment. In the future, perhaps something config-based could be created This is meant to create the table brand new, not update it. If the table already exists, it will be re-written by running this function. Builds Roster and Teams tables

Usage

1
build_teams_tables(seasons, conn = connect_to_db())

Arguments

seasons

A vector of seasons (format: 20182019)

conn

A connection to a database - defaults to creating a new one

return_playerids

If TRUE, will return all the player IDs (Default = True)


anthonyshook/nhldata documentation built on Feb. 22, 2021, 3:51 a.m.