Description Usage Arguments Value Examples
View source: R/gdfpd_export_DFP_Data.R
Export information from gdfpd_GetDFPData() to an excel file or csv. In the csv case, all tables are exported as csv files and zipped in a single zip file.
1 2 3 4 5 | gdfpd.export.DFP.data(
df.reports,
base.file.name = paste0("GetDFPData_Export_", Sys.Date()),
type.export = "xlsx"
)
|
df.reports |
Tibble with financial information (output of gdfpd.GetDFPData) |
base.file.name |
The basename of excel file (make sure you dont include the file extension) |
type.export |
The extension of the desired format: 'xlsx' (default) or 'csv' |
TRUE, if successfull (invisible)
1 2 3 4 5 6 7 8 | # get example data from RData file
my.f <- system.file('extdata/Example_DFP_Report_Petrobras.RData', package = 'GetDFPData')
load(my.f)
## Not run: # dontrun: keep cran check time short
gdfpd.export.DFP.data(df.reports, base.file.name = 'MyExcelFile', format.data = 'wide')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.