Description Usage Arguments Value Examples
Creates a turk task project in the project directory, adds an 'instructions.md', and optionally adds a key value to the 'key.csv' file.
1 2 | make_project(path, key.value, key.path = file.path(dirname(path), "key.csv"),
additional.cols = NULL, ...)
|
path |
A path to the projects dirctory plau the project name. |
key.value |
A value (key code) that will be used in to log into the project in the shinyTurk. |
key.path |
A path the where 'key.csv' is. |
additional.cols |
Additional column values to add to the key. For example the key may contain an additional institution name column. |
... |
ignored. |
Returns the project.path
so it can be used with
add_prompts
and add_responses
within a magrittr chain.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ## Not run:
make_project(
path = "L:/swiper/shinyTurk/turk_items/ce_question_tagging_validation",
key.value = 9998
)
## End(Not run)
## Not run:
## In a magrittr pipeline
library(dplyr)
prompts <- c("I am sam", "He is greg", "We are us.")
responses <- c("Orange", "Yellow", "Green", "Blue", "Red", "Purple")
make_project(
path = "L:/swiper/shinyTurk/turk_items/ce_question_tagging_validation",
key.value = 9999
) %>%
add_prompts(prompts) %>%
add_responses(
responses = responses,
googleform_url = 'https://docs.google.com/forms/d/1iLiHtE6xFUzYMN8iB3AXD5xRYVY_oI5Cps1uaujZGng',
type = "checkbox"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.