Description Usage Arguments Value
This function allows users to export a dataset to Excel or SPSS.
1 2 3 4 5 | export_dataset(
x,
path = paste0(getwd(), "/", deparse(substitute(x))),
type = "xlsx"
)
|
x |
A data frame. |
path |
The path to the location on the user's local computer where the data frame should be stored. This parameter is set to the working directory #' by default. |
type |
A character element representing the type of export to perform (options: "xlsx" or "spss"). This parameter is set to "xlsx" by default. |
Returns none.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.