pbi_dataset_refresh_hist | R Documentation |
Returns the refresh history for the specified dataset from the specified workspace.
pbi_dataset_refresh_hist(group_id, dataset_id, top = NULL, request_id = NULL)
group_id |
The workspace ID |
dataset_id |
The dataset ID |
top |
The number of most recent entries in the refresh history. The default is all available entries. |
request_id |
The request ID returned by pbi_dataset_refresh(). If provided the refresh status of the request ID is returned. |
By default the function will return all historical refreshes. You
can reduce the list to the most recent refreshes using the top
argument.
If request_id
is provided the function will return a single refresh
status, but will still query the Power BI API for all historical entries.
If you query the top 5 most recent refreshes using the top
argument,
the function will only return a status if the provided request_id is in
this list.
The status value return can be either 'Completed', 'Failed' or 'Unknown', which means that the refresh is still in progress.
A data frame with status, start and end times of historical refreshes
or a single refresh status message if request_id
is used.
pbi_dataset_refresh
## Not run: group_id <- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" dataset_id <- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" pbi_dataset_refresh_hist(group_id, dataset_id) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.