pbiUpdateTableSchema: Update an existing table schema.

Description Usage Arguments Value Examples

View source: R/pbiUpdateTableSchema.R

Description

Requires dataset id and table name and a data.frame. Passes a table schema to the body of the request - uses pbiGenerateTableSchema to dynamically create a table schema off of a data frame, which you can use to give you an idea about what the R object should look like if you want to create a data frame yourself.

Usage

1
pbiUpdateTableSchema(df, guid, tableName)

Arguments

df

A data frame off of which to build the table schema. It can be empty or contain rows, so long as the types are correct.

guid

Dataset id. Use pbiListAllDatasets.

tableName

Friendly table name - see pbiListAllTables for help.

Value

HTTP response object.

Examples

1
2
## Not run: pbiUpdateTableSchema(iris, guid = "sdjfalj2", tableName = "tName")
pbiGenerateTableSchema(iris)

olfrost/poweRbi documentation built on May 6, 2019, 6:05 p.m.