pbi_dataset_refresh: Refresh dataset

View source: R/datasets.R

pbi_dataset_refreshR 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)

powerbiR documentation built on Aug. 23, 2022, 5:06 p.m.