yaml_to_prereg_spec {preregr} | R Documentation |
Convert a (pre)registration specification from YAML or JSON
Description
Convert a (pre)registration specification from YAML or JSON
Usage
yaml_to_prereg_spec(x)
Arguments
x |
The YAML or JSON as character vector, or a path to a file containing the YAML or JSON. |
Value
The imported object.
Examples
### 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();
[Package preregr version 0.2.9 Index]