profilesJson2RMatrix {RMixpanel} | R Documentation |
Convenience function to convert json result of engage API to R matrix holding people data.
profilesJson2RMatrix(jsonData, select = TRUE)
jsonData |
Result of request to Mixpanel's Engage API. |
select |
If |
Ths helper function takes a json result as of the Mixpanel Engage API and creates a R matrix holding the data. Array user properties are collapsed using a dash ('-') as separator.
A character matrix showing one profile per line. The first column represents the distinct ID of the profile, the other column the profile properties.
Meinhard Ploner