db.merge_games_to_db: Merge Games into Database

Description Usage Arguments

Description

The volume of data can be too much for personal computers to store in memory. Use of a database allows analysis of everything at once. This will collapse a game into a database. Database tables should be created before this. For more details see the help vignette: vignette("Database-Setup", package = "hockeyR").

Usage

1
2
db.merge_games_to_db(season_dir, games, con, what = c("roster", "shifts",
  "pbp"))

Arguments

season_dir

Directory of the season

games

a single game or list of games to merge to db

con

A connection to the database (see db.get_db_connection()).

what

Which of roster, shifts and/or pbp to collapse into the database


pbulsink/hockeyR documentation built on May 15, 2019, 4:16 p.m.