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"
);
#> 
#> ── (Pre)registration specification ─────────────────────────────────────────────
#>  Form: Preregistration Template for Qualitative and Quantitative Ethnographic Studies
#>  52 fields (0 completed, 52 empty)