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")
.
1 2 | db.merge_games_to_db(season_dir, games, con, what = c("roster", "shifts",
"pbp"))
|
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 |
what |
Which of roster, shifts and/or pbp to collapse into the database |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.