Description Usage Arguments Value Examples
View source: R/pbiGenerateTableSchema.R
Use a data frame to infer data types and produce a list object that can be converted to compatible JSON. See here: https://msdn.microsoft.com/en-us/library/mt203560.aspx
1 | pbiGenerateTableSchema(df, tableName = NULL, debug = FALSE)
|
df |
Data frame - the data used to infer the table schema. |
tableName |
A character string. When is not NULL, it will override the default of using the variable name as the table name. |
debug |
When TRUE, it will return a list object converted from the JSON so that you can see what the R object should look like. |
List object or JSON to be passed into the body of a request.
1 | pbiGenerateTableSchema(iris, debug = TRUE) # It will coerce objects to data frames if it can.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.