pbi_dataset_refresh {powerbiR}R Documentation

Refresh dataset

Description

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

Usage

pbi_dataset_refresh(group_id, dataset_id)

Arguments

group_id

The ID of the workspace.

dataset_id

The ID of the dataset.

Value

If successful, the refresh request ID is returned.

See Also

pbi_dataset_refresh_hist

Examples


## Not run: 

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"

## End(Not run)

[Package powerbiR version 0.1.0 Index]