eventsJson2RMatrix {RMixpanel} | R Documentation |
Convenience method to convert from pseudo json of Mixpanel's export API to R matrix holding events.
eventsJson2RMatrix(jsonData, select = TRUE)
jsonData |
Result of request to Mixpanel's Export API. |
select |
If |
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.
A character matrix showing one event per line. The first column represents the name of the event, the other column the event properties.
Meinhard Ploner