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

loadExposureOutcomeList(file)

Arguments

file

The name of the file

Value

A list of objects of type exposureOutcome.

Examples

# \donttest{
tempFile <- file.path(tempdir(), "exposureOutcomes.json")
saveExposureOutcomeList(list(createExposureOutcome(1124300, 444382)), tempFile)
eoList <- loadExposureOutcomeList(tempFile)
# }