Learn R Programming

powerbiR (version 0.1.0)

pbi_dataset_refresh: Refresh dataset

Description

Triggers a refresh for the specified dataset from the specified workspace.

Usage

pbi_dataset_refresh(group_id, dataset_id)

Value

If successful, the refresh request ID is returned.

Arguments

group_id

The ID of the workspace.

dataset_id

The ID of the dataset.

See Also

pbi_dataset_refresh_hist

Examples

Run this code

if (FALSE) {

group_id <- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
dataset_id <- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

pbi_dataset_refresh(group_id, dataset_id)
#> A refresh of dataset xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx was triggered.
#>
#> To check status, use pbi_dataset_refresh_hist() and the request ID returned
#> by this function.
#> [1] "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Run the code above in your browser using DataLab