repijson (version 0.1.0)

as.ejObject.obkData: This function processes objects from the obkClass data and converts to the epiJSON format

Description

This function processes objects from the obkClass data and converts to the epiJSON format

Usage

"as.ejObject"(x, metadata = list(), ...)

Arguments

x
An record from the obkData
metadata
The list of the components in the metadata
...
other parameters (to maintain consistency with the generic)

Value

an ejObject

Examples

Run this code
require('OutbreakTools')
data(ToyOutbreak)
x=subset(ToyOutbreak,2)
as.ejObject(x, metadata=list())

Run the code above in your browser using DataLab