Learn R Programming

RSiteCatalyst (version 1.4.10)

SubmitJsonQueueReport: Create Queue Report from JSON

Description

Generic interface to validate, queue and retrieve a report from the API

Usage

SubmitJsonQueueReport(report.description, interval.seconds = 5, max.attempts = 120, validate = TRUE, enqueueOnly = FALSE)

Arguments

report.description
JSON report description
interval.seconds
How long to wait between attempts
max.attempts
Number of API attempts before stopping
validate
Weather to submit report definition for validation before requesting the data.
enqueueOnly
only enqueue the report, don't get the data. returns report id, which you can later use to get the data

Value

Data frame or report id, if enqueueOnly is TRUE

Details

This is a function for advanced users, for the case where a user feels that submitting a JSON request would be easier than using one of the pre-defined functions from RSiteCatalyst

Examples

Run this code
## Not run: 
# 
# custom_report <- SubmitJsonQueueReport('valid Adobe Analytics API JSON string')
# 
# ## End(Not run)

Run the code above in your browser using DataLab