Write a list of objects of type sccAnalysis to file. The file is in JSON format.
saveSccAnalysisList(sccAnalysisList, file)Invisibly returns NULL. Saves the analysis list to file as a side effect.
if (FALSE) { # \dontrun{
analysis1 <- createSccAnalysis(analysisId = 1,
description = "30-day risk window",
runSelfControlledCohortArgs = createRunSelfControlledCohortArgs())
saveSccAnalysisList(list(analysis1), "analyses.json")
} # }