datasets.write_table | R Documentation |
Writes a data.frame to a Foundry dataset.
datasets.write_table(data, alias)
data |
A data.frame or an arrow Table. |
alias |
The alias representing the Dataset. |
Note that types may not be exactly preserved and all types are not supported. See https://arrow.apache.org/docs/r/articles/arrow.html for details on type conversions from a data.frame to an arrow Table. Use arrow::Table$create to use more granular types.
Row names are silently removed.
## Not run:
datasets.write_table(mtcars, "my_output")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.