Create Queue Report from JSON

Share:

Description

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

Usage

1
2
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

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

Value

Data frame or report id, if enqueueOnly is TRUE

Examples

1
2
3
4
5
6
## Not run: 

custom_report <- SubmitJsonQueueReport('valid Adobe Analytics API JSON string')


## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.