Save price, conversion factor and flow choice in a separate table for further analysis. Use the argument file to specify where the Excel file will be located.
1 2 3 4 5 6 7 | clean2excel(dtf, file, path = "data-raw/excel", returnresults = FALSE,
...)
cleandb2excel(productcode, file = paste0(productcode, ".xlsx"),
tableread = "raw_flow_yearly", ...)
cleanrdata2excel(rawfilename, ...)
|
dtf |
data frame |
file |
a character string naming an Excel file, should end by ".xlsx" |
path |
a character string specifying where the excel file will be saved |
returnresults |
TRUE if the list of results should be returned usefull for the function cleanrdata2excel. |
... |
further arguments passed to |
productcode |
code of a product |
tableread |
names of the database table to read |
rawfile |
name of a .RData file containing raw trade flows |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.