Convenience function to convert json result of engage API to R matrix holding people data.
profilesJson2RMatrix(jsonData, select = TRUE)
Result of request to Mixpanel's Engage API.
If "select"
is an array of column names, only the specified properties are selected. If TRUE
, all columns are selected.
A character matrix showing one profile per line. The first column represents the distinct ID of the profile, the other column the profile properties.
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.