form_create | R Documentation |
You can use this function to create a new (pre)registration form.
The "Creating a (pre)registration form" vignette explains how this works.
That is available at
https://preregr.opens.science/articles/creating_prereg_form.html
or can be shown by running vignette("creating_prereg_form",
package = "preregr")
.
form_create(
title,
version,
author = NA,
date = format(Sys.Date(), "%Y-%m-%d"),
...
)
title |
The form's title |
version |
The form's version. If there is only one version and the
creators do not plan to release future version, the recommendation is to
set the version to |
author |
The authors of the form |
date |
The date the form was created |
... |
Additional field-content pairs to specify arbitrary metadata. |
The preregr
form object prefilled with some examples.
exampleForm <-
preregr::form_create(
title = "Example form",
version = "0.1.0"
);
### Show the form summary
exampleForm;
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.