rym (version 0.4.0)

rym_users_grants: List of users permissions

Description

Returns information about the permissions to manage the counter and viewing statistics from management API.

Usage

rym_users_grants(counter, login = NULL, token.path = getwd())

Arguments

counter

Yandex Metrika counter ID, you can get ids of all your conters over rym_counters

login

character, Your Yandex login

token.path

character, Directory for store API credential, by default is your work directory

Value

Data frame with list of yandex metrika counter users

user_login

Login of the user who has been given permission to manage the counter.

perm

Access level, one of view, edit, public_stat.

created_at

Date of granting access in the format YYYY-MM-DD'T'hh: mm: ssZ.

comment

An arbitrary comment. The number of characters can not exceed 255.

partner_data_access

Logical, is partner access or not.

References

Official docs - https://tech.yandex.ru/metrika/doc/api2/management/grants/grants-docpage/

Examples

Run this code
# NOT RUN {
users <- rym_users_grants(counter    = "your_counter_id",
                          login      = "your_login")
# }

Run the code above in your browser using DataLab