Description Usage Arguments Value Examples
View source: R/pbiCreateDatasetFromDataFrame.R
Requires the correct metadata information to be passed to the function in the form of lists and named variables. Relationships, measures and columns can be handled.
1 2 |
name |
The name of the new dataset. |
df |
A data frame to determine the table schema. Uses pbiGenerateTableSchema to infer the data types and creates a JSON object. |
tableName |
An character vector for a table name (max 1 table created per call) |
duplicate |
When TRUE, it will create a separate dataset with the same name as another dataset. |
addRows |
When TRUE, it will create the schema and data. When FALSE, just the schema will be created. |
datasetType |
What kind of dataset do you want to use? Use pbiDatasetTypes to see the available options. |
FIFO |
Default retention policy, or basic "first-in-first-out". Dataset will store between 200-210k rows and remove the oldest rows when the storage limit has been reached. Consider this option for streaming datasets. Options are 'none' or 'basicFIFO'. |
verbose |
If TRUE, return extra information about the endpoint. |
HTTP response object.
1 | ## Not run: pbiCreateDatasetFromDataFrame("New Dataset", df = cars, tableName = "Cars")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.