guide_spec.RdHolds the study-level fields of a Study Data Reviewer's Guide (SDRG) or
Analysis Data Reviewer's Guide (ADRG) and an ordered list of sections. Sections
are attached afterwards with add_section() / add_narrative(), and the
whole guide is written to a file with render_guide().
guide_spec(
study,
type = c("sdrg", "adrg"),
sponsor = NA_character_,
protocol_title = NA_character_,
standards_version = NA_character_,
...
)Study identifier (e.g. "CDISCPILOT01"). Required, non-empty.
Guide type: "sdrg" (Study Data Reviewer's Guide) or "adrg"
(Analysis Data Reviewer's Guide).
Sponsor name. Optional.
Protocol title. Optional.
Standards version(s) followed, e.g. "SDTMIG 3.4".
Optional.
Additional study-level fields, stored as-is in guide$meta.
An object of class reviewerguider_guide: a list with elements
meta and sections.
guide_spec(
"CDISCPILOT01",
type = "sdrg",
sponsor = "Acme Pharma",
protocol_title = "A Study of Drug X",
standards_version = "SDTMIG 3.4"
)