SubmitJsonQueueReport: Create Queue Report from JSON

Description Usage Arguments Details Value Examples

View source: R/SubmitJsonQueueReport.R

Description

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

Usage

1
2
3
SubmitJsonQueueReport(report.description, interval.seconds = 5,
  max.attempts = 120, validate = TRUE, enqueueOnly = FALSE,
  format = "json")

Arguments

report.description

JSON report description

interval.seconds

How long to wait between attempts

max.attempts

Number of API attempts before stopping

validate

whether 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

format

"csv" or "json"

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)

randyzwitch/RSiteCatalyst documentation built on May 11, 2020, 3:05 p.m.