Learn R Programming

rGoodData package provides interface to GoodData API. With it you can load report data in the raw format.

Here is a short example:

# Setup the required environment variables
Sys.setenv(GOODDATA_DOMAIN = "https://gooddata.com")
Sys.setenv(GOODDATA_PROJECT = "project-id")
Sys.setenv(GOODDATA_USER = "user-name")
Sys.setenv(GOODDATA_PASSWORD = "user-password")

library(rGoodData)
library(data.table)
# get data for a given report object-id
def.obj <- getLastDefinition(1213086)
uri <- getReportRawUri(def.obj)
dt <- getReportData(uri)

Copy Link

Version

Install

install.packages('rGoodData')

Monthly Downloads

2

Version

0.1.1

License

GPL

Maintainer

Bulat Yapparov

Last Published

November 10th, 2017

Functions in rGoodData (0.1.1)

authCookie

Gets that Temporary Token (TT) auth cookie, wrapper for the easy access to TT
getLastDefinition

Gets last definition for a report object id
temporaryToken

Gets the Temporary Token (TT) for a given Super Secured Token (SST)
getReportData

Gets report results as data.table
getReportRawUri

Function gets uri for export of raw report data
processResponseError

Stops the execution for response with bad status codes
superSecuredToken

Gets the Super Secured Token (SST) for Login
getUserAgent

Helper function that gets user agent header
processResponse

Processes http response and returns a list of results