rtry_export | R Documentation |
This function exports the preprocessed data as comma separated values to a .csv
file.
If the specified output directory does not exist, it will be created.
rtry_export(data, output, quote = TRUE, encoding = "UTF-8")
data |
The data to be saved. |
output |
Output path. |
quote |
Default |
encoding |
Default |
No return value, called for exporting a .csv
file.
This function makes use of the write.csv
function
within the utils
package.
# Export the preprocessed data to a specific location
rtry_export(data_TRY_15160, file.path(tempdir(), "TRYdata_unprocessed.csv"))
# Expected message:
# File saved at: C:\Users\user\AppData\Local\Temp\Rtmp4wJAvQ/TRYdata_unprocessed.csv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.