gitrd.export.ITR.data: Export tibble to an excel file

Description Usage Arguments Value Examples

View source: R/gitrd_export_ITR_Data.R

Description

Export tibble to an excel file

Usage

1
2
gitrd.export.ITR.data(data.in, base.file.name = paste0("GetITRData_Export_",
  Sys.Date()), type.export = "xlsx", format.data = "wide")

Arguments

data.in

Tibble with financial information (output of gitrd.GetITRData)

base.file.name

The basename of excel file (don't include extension)

type.export

The extension of the desired format (only 'xlsx' implemented so far)

format.data

The format of output. 'wide' (default) for a wide table and 'long' for a long table

Value

nothing

Examples

1
2
3
4
5
6
7
8
# get example data from RData file
my.f <- system.file('extdata/ExampleReport_Petrobras.RData', package = 'GetITRData')
load(my.f)

## Not run:  # dontrun: keep cran check time short
gitrd.export.ITR.data(df.reports, base.file.name = 'MyExcelFile', format.data = 'wide')

## End(Not run)

msperlin/GetITRData documentation built on March 23, 2020, 6:43 p.m.