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.
# \donttest{
if (interactive()) {
analysis1 <- createSccAnalysis(analysisId = 1,
description = "30-day risk window",
runSelfControlledCohortArgs = createRunSelfControlledCohortArgs())
saveSccAnalysisList(list(analysis1), file.path(tempdir(), "analyses.json"))
}
# }