form_to_html {preregr} | R Documentation |
Convert a (pre)registration form to html
Description
Convert a (pre)registration form to html
Usage
form_to_html(
x,
file = NULL,
section = NULL,
headingLevel = 1,
silent = preregr::opts$get("silent")
)
Arguments
x |
The (pre)registration form (as produced by a call
to |
file |
Optionally, a file to save the html to. |
section |
Optionally, one or multiple sections to include (if |
headingLevel |
The level of the top-most headings. |
silent |
Whether to be silent or chatty. |
Value
x, invisibly
Examples
### Load an example (pre)registration specification
data("examplePrereg_1", package = "preregr");
### Extract the form and show it as HTML
preregr::form_to_html(
examplePrereg_1
);
[Package preregr version 0.2.9 Index]