Description Usage Arguments Details Value Author(s) Examples
View source: R/MP.getRawData.R
Get a "raw dump" of tracked events over a time period. Duration work of MP.getRawData is very long, use him only if you need raw data, in other cases use others package's function. For more information go https://mixpanel.com/help/reference/exporting-raw-data
1  | 
api_secret | 
 Your API Mixpanel secret, you can find hin in mixpanel web interface: Account (http://img.netpeak.ua/alsey/150600941068_kiss_10kb.png) > Projects (http://img.netpeak.ua/alsey/150600948369_kiss_46kb.png)  | 
event | 
 The event or events that you wish to get data for, example c("play song", "log in", "add playlist")  | 
where | 
 An expression to filter the returning events by. For example 'properties["utm_source"]=="AdWords" and "Brand" in properties["utm_campaign"]', For more information go https://mixpanel.com/help/reference/data-export-api#segmentation-expressions  | 
from_date | 
 The first date to return data for, in yyyy-mm-dd format. This date is inclusive. Specify either interval or from_date and to_date.  | 
to_date | 
 The last date to return data for, in yyyy-mm-dd format. This date is inclusive. Specify either interval or from_date and to_date.  | 
For more information go https://mixpanel.com/help/reference/data-export-api#events
Data frame with raw data from Mixpanel account.
Alexey Seleznev
1 2 3 4 5 6  | MixPanel.RawData <- MP.getRawData(api_secret = "abcdefg123456",
                                  event = "emu",
                                  where = 'properties["utm_source"]=="AdWords" and "Brand" in properties["utm_campaign"]',
                                  from_date = "2017-07-10",
                                  to_date = "2017-07-10")
  
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.