processRecordFrame: This function processes events from the obkClass data and...

Description Usage Arguments Value Examples

View source: R/obkData.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
9
## 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)

Hackout2/repijson documentation built on May 6, 2019, 9:48 p.m.