View source: R/build-plays-table.R
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.
1 | build_plays_table(gameIDs, conn = connect_to_db(), num_cores = 1)
|
gameIDs |
a vector of gameIDs to process and add to the database |
conn |
A connection to a database - defaults to creating a new one |
num_cores |
Number of cores to use when processing. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.