loadSccAnalysisList: Load a list of sccAnalysis from file

View source: R/Analyses.R

loadSccAnalysisListR Documentation

Load a list of sccAnalysis from file

Description

Load a list of objects of type sccAnalysis from file. The file is in JSON format.

Usage

loadSccAnalysisList(file)

Arguments

file

The name of the file

Value

A list of objects of type sccAnalysis.

Examples


if (interactive()) {
tempFile <- file.path(tempdir(), "analyses.json")
saveSccAnalysisList(list(createSccAnalysis(analysisId = 1,
  runSelfControlledCohortArgs = createRunSelfControlledCohortArgs())), tempFile)
analysisList <- loadSccAnalysisList(tempFile)
}


SelfControlledCohort documentation built on June 17, 2026, 5:07 p.m.