To initialize a (pre)registration, pass the URL to a Google Sheet holding the (pre)registration form specification (in {preregr} format), see the "Creating a form from a spreadsheet" vignette), the path to a file with a spreadsheet holding such a specification, or a loaded or imported {preregr} (pre)registration form.

prereg_initialize(x, initialText = "Unspecified")

Arguments

x

The (pre)registration form specification, as a URL to a Google Sheet or online file or as the path to a locally stored file.

initialText

The text to initialize every field with.

Value

The empty (pre)registration specification.

Details

For an introduction to working with {preregr} (pre)registrations, see the "Specifying preregistration content" vignette.

Examples

rock::prereg_initialize(
  "preregQE_v0_95"
);
#> Error in rock::prereg_initialize("preregQE_v0_95"): To work with (pre)registrations, you must have the {preregr} package installed. To install it, use:
#> 
#>   install.packages("preregr");