get_design | R Documentation |
Retrieve all items that have been entered in the db so far by booklet and position in the booklet
get_design(
dataSrc,
format = c("long", "wide"),
rows = c("booklet_id", "item_id", "item_position"),
columns = c("item_id", "booklet_id", "item_position"),
fill = NA
)
dataSrc |
a dexter database or any object form which a design can be inferred |
format |
return format, see below |
rows |
variable that defines the rows, ignored if format='long' |
columns |
variable that defines the columns, ignored if format='long' |
fill |
If set, missing values will be replaced with this value, ignored if format='long' |
A data.frame with the design. The contents depend on the rows, columns and format parameters
if format
is 'long'
a data.frame with columns: booklet_id, item_id, item_position (if available)
if format
is 'wide'
a data.frame with the rows defined by the rows
parameter and
the columns by the columns
parameter, with the remaining variable (i.e. item_id, booklet_id or item_position)
making up the cells
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.