项目作者: randomsuffer

项目描述 :
Download financial statements of Russian banks
高级语言: HTML
项目地址: git://github.com/randomsuffer/cbrAPI.git
创建时间: 2015-06-02T20:11:40Z
项目社区:https://github.com/randomsuffer/cbrAPI

开源协议:

下载


cbrAPI

cbrAPI is an R package that allows to download and read dbf-files with different forms of accounting reports for a certain time period, as well as find information about the banks on Central Bank of Russia site.

The goal of this project is to make available to users all over the world the unique data of the accounting statements of Russian banks, which is collected by the Central Bank of Russian Federation. Data is represented as archived dbf files (database files). The package provides the opportunity to download these archives from the Central Bank’s website, read them and load into R. You can download any of the five forms of the accounting reports (101, 102, 123, 134, 135) for any given time period or over the entire available. You can also get detailed information on any Bank, knowing his registration number to find out the name, address, is it registered it in the Deposit Insurance Agency, is it went bankrupt or not.

Installation:

  1. library(devtools)
  2. install_github("randomsuffer/cbrAPI")
  3. library(cbrAPI)

All files on Central Bank of Russia site are packed in zip and rar archives, so you’ll need unrar software to work

For Windows

Download unrar tools from RARLAB site and extract them to C:\Windows.

For OS X

Using Terminal enter

  1. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. brew install unrar

but I should say, that the package can do that itself :)

For Unix

Install 7zip using

  1. sudo apt-get install p7zip-rar

Vignettes

After installation you defenitely would like to see the examples of using cbrAPI. To do so, go to project’s wiki!

Also you can always use

  1. vignette(package = "cbrAPI")

Known issues

Package now is in it’s beta version. Here’re some things I’ll fix in near future:

  • Check unrar tools in .onLoad() rather than every time the function is invoked.
  • Check latest available date of report before download.