Learn R Programming

⚠️There's a newer version (1.2.0) of this package.Take me there.

googleAnalyticsR

Get more examples and tutorials at the googleAnalyticsR website

Wasson?

Work is currently focused on quashing bugs and updating the BigQuery parser.

If you find any bugs please log any problems here in the issues tracker.

Install

You also need the version > 0.3.0 of googleAuthR

install.packages("googleAuthR")
install.packages("googleAnalyticsR")

Development version off github

devtools::install_github("MarkEdmondson1234/googleAnalyticsR")

Copy Link

Version

Install

install.packages('googleAnalyticsR')

Monthly Downloads

10,131

Version

0.2.1

License

MIT + file LICENSE

Maintainer

Mark Edmondson

Last Published

June 16th, 2016

Functions in googleAnalyticsR (0.2.1)

cohort_metric_check

Check the request has cohort metrics
error.message

Get the error message
cohort

Cohort object
checkPrefix

check it starts with ga: and if not puts it on
date_ga4

Make a date object
cohortGroup

Cohort Group object
dim_filter

Make a dimension filter object
dynamicSegment

Dynamic Segment v4 object
expect_null_or_s3_class

Expect NULL or class (s3)
expect_null_or_type

Expect NULL or type
expect_list_of_class

Test S3 Class in a list
google_analytics_4_parse_batch

ga v4 parse batching
ga_auth

Authentication with Google Analytics
fetch_google_analytics_4

Fetch multiple GAv4 requests
expect_list_of_this

Testthat in a list
expect_list_of_type

Test Type in a list
filter_clause_ga4

Make a dimension or metric filter clause object
listNameToDFCol

Add name of list entry of dataframe to dataframe colum
google_analytics_4_parse

ga v4 data parsing
google_analytics

Get Google Analytics v3 data
google_analytics_account_list

Get account list data including web property and View Id
google_analytics_bq

google_analytics_bq
make_cohort_group

Create a cohort group
is.error

Is this a try error?
is.NullOb

A helper function that tests whether an object is either NULL _or_ a list of NULLs
google_analytics_meta

Get current dimensions and metrics available in GA API.
googleAnalyticsR

Library for getting Google Analytics data into R
google_analytics_4

GAv4 single request
metric_ga4

Make a metric object
met_filter

Make a metric filter object
parse_ga_account_summary

New parse GA account summary
meta

Google Analytics API metadata
makeOrFilters

Make orFiltersForSegment
make_ga_4_req

Google Analytics v4 API fetch
order_type

Make an OrderType object
orFiltersForSegment

orFiltersForSegment
makePivotData

Make pivot data rows
makePivotNames

Make pivot column names
segment_vector_simple

Make a simple segment vector
segmentBuilder

Create a GAv4 Segment Builder
reexports

Objects exported from other packages
segment_element

Make a segment element
segment_define

Make a segment definition
pivot_ga4_parse

pivot data parsing
rmNullObs

Recursively step down into list, removing all such objects
segment_ga4

Make a segment object for use
pivot_ga4

Make a pivot object
segment_vector_sequence

Make sequenceSegment
segmentDimensionFilter

segmentDimensionFilter
segmentElementUI

A GAv4 segment element row
segmentFilter

Segment Filter
sequenceSegment

sequenceSegment
segmentFilterClause

segmentFilterClause
segmentChainUI

segmentChain UI
segmentSequenceStep

segmentSequenceStep
simpleSegment

Simple Segment
segmentDefinition

Segment Definition
unitToList

Allow unit lists
dimension_ga4

Make a dimension object
segmentMetricFilter

segmentMetricFilter
segmentObj_ga4

Segment objects
cohort_dimension_check

Check the request has cohort dimensions
segmentBuilderUI

Create a GAv4 Segment Builder
segmentChain

segmentChain