get_appmetrica_logs: Get non-aggregated data from your AppMetrica application

Description Usage Arguments Value Examples

View source: R/appmetricaR.R

Description

This function allows you to obtain raw data from your AppMetrica application. The AppMetrica Logs API accepts the request and puts it in the queue. If the request is processed successfully, AppMetrica prepares a file for download. In this case, the API returns the HTTP 202 Accepted status. If the request resulted in an error, the API returns the appropriate response status, and the HTTP message body contains the error description.

Usage

1
2
3
4
5
get_appmetrica_logs(type = "installations", application_id = NULL,
  date_since = "2018-01-01", date_until = "2018-01-02",
  date_dimension = "default",
  fields = "install_datetime,appmetrica_device_id,is_reinstallation",
  token = NULL)

Arguments

type

API resources

application_id

Unique numeric identifier for the application in AppMetrica

date_since

Start of the date range in the yyyy-mm-dd hh:mm:ss format

date_until

End of the date range in the yyyy-mm-dd hh:mm:ss format

date_dimension

The parameter defines what date and time are used as a condition for getting into the data sample. default — When the event occurred on the device; receive — When the server received event information.

fields

A comma-separated list of fields for the sample

token

An access token from the Yandex.OAuth service

Value

The requested data will be returned as a data frame.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
get_appmetrica_logs (type = 'installations',
application_id = 130000,
date_since = '2019-05-01',
date_until = '2019-05-31',
fields = 'install_datetime,publisher_name,tracker_name,appmetrica_device_id,click_url_parameters,is_reinstallation'
)

## End(Not run)

SergeiMakarovWeb/appmetricaR documentation built on Oct. 30, 2019, 11:52 p.m.