Learn R Programming

RSiteCatalyst (version 1.4.10)

GetReportsByIds: Get EnQueued Reports by report ID

Description

Get reports for report ids provided as a list. These reports are previously enqueued.

Usage

GetReportsByIds(report.ids, interval.seconds = 10, max.attempts = 300, print.attempts = TRUE)

Arguments

report.ids
list of report ids that you've enqueued and want to retrieve the data for
interval.seconds
How long to wait between attempts
max.attempts
Number of API attempts before stopping
print.attempts
Print each attempt to check if report is ready

Value

list of (report id and Data frame pairs)

Details

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

Examples

Run this code
## Not run: 
# 
# reports <- GetReportsByIds(list(12345678,87654321),print.attempts=FALSE)
# 
# ## End(Not run)

Run the code above in your browser using DataLab