RTGoogleAnalytics is a R Wrapper around the Google Analytics Real Time API. It allows fast and easy data extraction in R. This project is a fork of the RGoogleAnalytics package by Vignesh Prajapati (Tatvic).
-
Provides Access to v3 of the Google Analytics Real Time Reporting API
-
Supports authorization via OAuth 2.0
To get the current development version from github:
devtools::install_github("jorisgillis/RTGoogleAnalytics")
-
httr handles the underlying OAuth2.0 Authorization flow and the API requests
-
lubridate handles the date manipulation logic underlying Query Partitioning
Work on RGoogleAnalytics was started by Michael Pearmain at Google. He was supported by Nick Mihailowski (Google) and Vignesh Prajapati (Tatvic).
Under development
List of Valid Dimension/Metric Combinations from the Google Analytics Real Time API Reference Guide
- Query Feed Explorer allows you to test your queries for syntatical correctness. Once verified, the query parameters can then be copied to your R Script