Git Product home page Git Product logo

rdfa's Introduction

RDFA

CRAN_Status_Badge

This package is designed to work with the API Google Doubleclick in R.

Key features:

  • OAuth 2.0 authorization;
  • Access to the following Google Analytics APIs:
  • Access to all the accounts which the user has access to;
  • API responses is converted directly into R as a data.frame;
  • Auto-pagination to return more than 10,000 rows of the results by combining multiple data requests.

Installation

To install the latest release version from CRAN with:

install.packages("RDFA")

To install the development version the install_bitbucket function from devtools package can be used:

devtools::install_bitbucket(repo = "rdfa", username = "unikum")

Another method to install the package RGA (using the command line):

git clone https://[email protected]/unikum/rga.git
R CMD build rdfa
R CMD INSTALL rdfa_*.tar.gz

Usage

Once you have the package loaded, there are 3 steps you need to use to get data from Google Analytics:

  1. Authorize this package to access your Google Analytics data with the authorize() function.
  2. Determine the profile ID which you want to get access to with the list_profiles() function.
  3. Get the results from the API with one of these functions: get_ga(), get_mcf() or get_rt().

For details about this steps please type into R:

browseVignettes(package = "RDFA")

Bug reports

Before posting a bug please try execute your code with the httr::with_verbose() wrapper. It will be useful if you attach verbose output to the bug report.

httr::with_verbose(list_profiles())
httr::with_verbose(get_ga("XXXXXXXX"))

Post the traceback() output also may be helpful.

To report a bug please type into R:

utils::bug.report(package = "RDFA")

rdfa's People

Contributors

timmwardion avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.