Learn R Programming

shinyga (version 0.1.2.9001)

shinygaGetSegments: Get GA Segments

Description

Gets the Segments available from the user token.

Usage

shinygaGetSegments(token, start = 1, max = 1000)

Arguments

token
Token passed from shinygaGetToken()
start
which data point to start from
max
Maximum number to fetch

Value

If token exists, a dataframe of GA segments.

See Also

Other fetch data functions: MEgetData; getAndMergeGAAccounts; processManagementData; rollupGA; shinygaGetAccounts; shinygaGetAdWords; shinygaGetCustomDataSources; shinygaGetCustomDimensions; shinygaGetCustomMetrics; shinygaGetFilters; shinygaGetGoals; shinygaGetProfiles; shinygaGetUsers; shinygaGetWebProperties

Examples

Run this code
## Not run: 
# Views <- shinygaGetSegments(123456)
# ## End(Not run)

Run the code above in your browser using DataLab