View source: R/RP_SelfServiceAPI_EndPoints.R
RP_APIGetFullAdhocJSON | R Documentation |
The JSON dataset endpoint allows data to be requested synchronously in JSON format and without having previously defined a dataset. The endpoint provides similar parameters to the ones used when creating a dataset so that RavenPack Analytics data can be queried in a more adhoc way. Please note: Currently this endpoint only supports datasets with “daily” frequency.
RP_APIGetFullAdhocJSON(APIHandler, payload)
APIHandler |
An API handler, created using RP_CreateAPIHandler. |
payload |
A string in JSON format with the request body parameters. |
datasetUUID |
A string with the dataset identifier to preview. |
Limitations: will show the top 500 entities (in terms of volume), max lookback window will be 366 days, and max time range will be 366 days. In the case of a timeout, the response will be a generic bad-request HTTP 400 code specifying that the requested data is too large and to split the request into smaller chunks.
A data.table with the preview.
Jose A. Guerrero-Colon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.