eventsJson2RMatrix {RMixpanel} | R Documentation |
Convert Events Exported From Mixpanel API To R Matrix
Description
Convenience method to convert from pseudo json of Mixpanel's export API to R matrix holding events.
Usage
eventsJson2RMatrix(jsonData, select = TRUE)
Arguments
jsonData |
Result of request to Mixpanel's Export API. |
select |
If |
Details
Ths helper function takes a json result as of the Mixpanel Export API and creates an R matrix holding the data. Array event properties are collapsed using a dash ('-') as separator.
Value
A character matrix showing one event per line. The first column represents the name of the event, the other column the event properties.
Author(s)
Meinhard Ploner
See Also
[Package RMixpanel version 0.7-1 Index]