View source: R/run_initial_setup.R
run_initial_setup | R Documentation |
run_initial_setup() will read your data and create a jsPsychHelpeR project tailoring the _targets.R file to the tasks included in the data.
run_initial_setup(
pid,
download_files = FALSE,
data_location = NULL,
download_task_script = FALSE,
folder = "~/Downloads/jsPsychHelpeRtest",
sensitive_tasks = c(""),
credentials_file = ".vault/.credentials",
dont_ask = FALSE,
open_rstudio = TRUE
)
pid |
project id |
download_files |
Download the data files? FALSE / TRUE
|
data_location |
Local folder where the raw data for the project is located |
download_task_script |
should download the task scripts? (requires server credentials) FALSE / TRUE |
folder |
location for the project |
sensitive_tasks |
short names of the sensitive tasks in the protocol, if any |
credentials_file |
Path to .credentials file. By default: |
dont_ask |
answer YES to all questions so the process runs uninterrupted. This will: |
open_rstudio |
Open RStudio with the new project TRUE / FALSE |
Opens a new RStudio project
run_initial_setup(pid = 999, download_files = FALSE,
data_location = system.file("extdata", package = "jsPsychHelpeR"),
download_task_script = FALSE,
folder = tempdir(),
sensitive_tasks = c(""),
credentials_file = ".vault/.credentials",
dont_ask = TRUE,
open_rstudio = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.