View source: R/build-project.R
Creates a new RStudio project with the exercises
1 2 3 4 5 6 7 8 9 | bdc_build_project(
folder = "big-data-class",
src = system.file("exercises", package = "bigdataclass"),
overwrite = FALSE,
db_connection = "con <- connection_open(RSQLite::SQLite(), 'database/local.sqlite')",
dbi_connection = "con <- dbConnect(RSQLite::SQLite(), 'database/local.sqlite')",
files_path = "files",
books_path = "books"
)
|
folder |
Path to folder where to build the project |
src |
Path to the source folder of the exercises |
overwrite |
Overwrite class folder if it exists |
db_connection |
The 'connections' code to connect to the database |
dbi_connection |
The 'DBI' code to connect to the database |
files_path |
Location of the files folder |
books_path |
Location of the books folder |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.