Learn R Programming

GetITRData (version 0.7)

gitrd.read.zip.file: Reads a single zip file downloaded from Bovespa

Description

Reads a single zip file downloaded from Bovespa

Usage

gitrd.read.zip.file(my.zip.file, folder.to.unzip = tempdir(), id.type,
  type.fin.report)

Arguments

my.zip.file

Full path to zip file

folder.to.unzip

Folder to unzip files (default = tempdir())

id.type

The type of file structure ('after 2011' or 'before 2011')

type.fin.report

Peridodicy of fin data ('itr' - quarterly or 'dfp' - annual)

Value

A list with several dataframes containing financial statements

Examples

Run this code
# NOT RUN {
my.f <- system.file('extdata/434_ARAC_2008-09-30.zip', package = 'GetITRData')

my.l <- gitrd.read.zip.file(my.f, id.type = 'before 2011', type.fin.report = 'itr')
print(my.l)
# }

Run the code above in your browser using DataLab