Skip to contents

Initialises the session store. Call once at the top of your analysis script, before any lg_tag(), lg_filter(), or lg_derive() calls. Resets any prior session state.

Usage

lg_start(study_id = NULL, analysis_id = NULL)

Arguments

study_id

Character or NULL. Optional study identifier included in reports.

analysis_id

Character or NULL. Optional analysis identifier.

Value

Invisibly NULL.

Examples

lg_start(study_id = "TRIAL-001", analysis_id = "primary-efficacy")
#> lineager: session started [study: TRIAL-001] [analysis: primary-efficacy]
lg_end()
#> lineager: session ended — 0 operation(s), 0 exclusion(s), 0 population(s), 0 var spec(s)