prereg_initialize: Initialize a (pre)registration

View source: R/prereg_initialize.R

prereg_initializeR Documentation

Initialize a (pre)registration

Description

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.

Usage

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.

Details

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

Value

The empty (pre)registration specification.

Examples

rock::prereg_initialize(
  "preregQE_v0_93"
);

rock documentation built on Dec. 28, 2022, 1:55 a.m.