yaml_to_prereg_spec | R Documentation |
Convert a (pre)registration specification from YAML or JSON
yaml_to_prereg_spec(x)
x |
The YAML or JSON as character vector, or a path to a file containing the YAML or JSON. |
The imported object.
### Get path to example file
examplePreregFile <-
system.file(
"extdata",
"preregr-spec-example1.yml",
package = "preregr"
);
### Load it and show which items are completed
preregr::yaml_to_prereg_spec(
examplePreregFile
) |>
preregr::prereg_show_item_completion();
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.