Write a list of objects of type exposureOutcome to file. The file is in JSON format.

saveExposureOutcomeList(exposureOutcomeList, file)

Arguments

exposureOutcomeList

The exposureOutcome list to be written to file

file

The name of the file where the results will be written

Value

Invisibly returns NULL. Saves the exposure-outcome list to file as a side effect.

Examples

if (FALSE) { # \dontrun{
eo1 <- createExposureOutcome(exposureId = 1124300, outcomeId = 444382)
saveExposureOutcomeList(list(eo1), "exposureOutcomes.json")
} # }