create_project | R Documentation |
Creates a directory with the essential files for a new project. The function can be used on existing project directories as well.
The folder name should be structured as "<PI Last Name> <Short Description>"
,
e.g. "Sjoberg MRI detects Path Stage after Surgery"
. PI last name
is used in file naming.
create_bst_project(path, path_data = NULL, git = NA, ...)
path |
A path. If it exists, it is used. If it does not exist, it is created. |
path_data |
A path. The directory where the secure data exist. Default is
|
git |
Logical indicating whether to create Git repository. Default is |
... |
Arguments passed on to
|
starter::create_project()
# specifying project folder location (folder does not yet exist)
project_path <- fs::path(tempdir(), "My Project Folder")
# creating folder where secure data would be stored (typically will be a network drive)
secure_data_path <- fs::path(tempdir(), "secure_data")
dir.create(secure_data_path)
# creating new project folder
create_bst_project(project_path, path_data = secure_data_path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.