Learn R Programming

RSiteCatalyst (version 1.4.10)

GetReport: Get EnQueued Report by report ID

Description

Get a single report by report id, this allow asynchronous way of getting reports.

Usage

GetReport(report.id, interval.seconds = 10, max.attempts = 3, print.attempts = TRUE)

Arguments

report.id
report id that's returned by QueueTrended and other functions while used with enqueueOnly parameter set to TRUE
interval.seconds
How long to wait between attempts
max.attempts
Number of API attempts before stopping
print.attempts
Print each attempt for fetching data

Value

Data frame

Details

This is a function for advanced users, after you've enqueued multiple reports and want to get one of them when it's ready.

Examples

Run this code
## Not run: 
# 
# custom_report <- GetReport(12345678)
# 
# ## End(Not run)

Run the code above in your browser using DataLab