knitr::opts_chunk$set(
    comment = "#>",
    collapse = TRUE,
    error = FALSE,
    tidy = FALSE
)

To access summary information of the Management API Google Analytics RGA package provides the following functions:

Each of these functions return a table of data (data.frame) with the relevant content.

The functions such as list_webproperties(), list_profiles() and list_goals() can be specified with the additional arguments such as account.id, webproperty.id or profile.id which are required to obtain the information for specific account, resource or profile (view the help pages for the corresponding functions). This is an example of obtaining the information on all views (profiles):

list_profiles()

To get all profiles for a specific account try this:

list_profiles(account.id = "XXXXXXXX")

To get a more detail information about interesing entry use following functions:

Each of these functions return a set of data (list) with the relevant content.

To get information about specific filter in first you need obtain the filter ID with list_filters() function. Then use obtained filter ID to get more details about this filter:

list_accounts()
list_filters(account.id = "XXXXXXXX")
get_filter(account.id = "XXXXXXXX", filter.id = "YYYYYYYY")

References



jdeboer/RGA-1 documentation built on May 18, 2019, 11:29 p.m.