profilesJson2RMatrix: Convert Profiles Exported From Mixpanel API To R Matrix.

Description Usage Arguments Details Value Author(s) See Also

View source: R/profilesJson2RMatrix.R

Description

Convenience function to convert json result of engage API to R matrix holding people data.

Usage

1
profilesJson2RMatrix(jsonData, select = TRUE)

Arguments

jsonData

Result of request to Mixpanel's Engage API.

select

If "select" is an array of column names, only the specified properties are selected. If TRUE, all columns are selected.

Details

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.

Value

A character matrix showing one profile per line. The first column represents the distinct ID of the profile, the other column the profile properties.

Author(s)

Meinhard Ploner

See Also

mixpanelGetProfiles


RMixpanel documentation built on May 1, 2019, 10:46 p.m.