mixpanelGetEvents {RMixpanel} | R Documentation |
Get Events From Mixpanel API
Description
Get a matrix filled with event data from the Mixpanel API.
Usage
mixpanelGetEvents(account, event, from, to = from, daysPerBlock = 10,
select = TRUE, verbose = TRUE, df = FALSE, encoding="UTF-8", ...)
Arguments
account |
A mixpanel account, as defined in |
event |
Array of event names. If empty, all events are returned. |
from |
Start date in either format <"yyyy-mm-dd"> or <yyyymmdd>. Inclusive. |
to |
End date in either format <"yyyy-mm-dd"> or <yyyymmdd>. Inclusive. |
daysPerBlock |
Data is downloaded in blocks of fixed size. |
select |
If |
verbose |
If |
df |
Clean data and return |
encoding |
JSON Encoding. Default is UTF8. |
... |
Additional arguments to be included in the Mixpanel API request. E.g. where = "properties[\"$os\"]==\"iPhone OS\""). See also https://mixpanel.com/help/reference/data-export-api#events. |
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
mixpanelGetProfiles
,
mixpanelGetEventsForProfiles