eventsJson2RMatrix: Convert Events Exported From Mixpanel API To R Matrix

Description Usage Arguments Details Value Author(s) See Also

View source: R/eventsJson2RMatrix.R

Description

Convenience method to convert from pseudo json of Mixpanel's export API to R matrix holding events.

Usage

1
eventsJson2RMatrix(jsonData, select = TRUE)

Arguments

jsonData

Result of request to Mixpanel's Export API.

select

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

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

mixpanelGetEvents


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