repijson (version 0.1.0)

processRecordFrame: This function processes events from the obkClass data and converts to the epiJSON format

Description

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

Usage

processRecordFrame(x, recordFrameName, eventID)

Arguments

x
An record from the obkData
recordFrameName
The event of interest
eventID
The id of the event

Value

an ejEvent

Examples

Run this code
## Not run: 
# #because this function is not exported this example won't work outside the package
# require('OutbreakTools')
# 
# data(ToyOutbreak)
# x=subset(ToyOutbreak,2)@records[[1]]
# processeventFrame(x,"Fever")
# ## End(Not run)

Run the code above in your browser using DataCamp Workspace