【R】GetFREData

1. はじめに

GetFREDataは、ブラジル証券取引所に登録されている企業情報FREを取得するインターフェースを提供するパッケージです。

2. インストール

CRANからインストールできます。

install.packages("GetFREData")

3. つかってみる

取得できる情報は以下の通り。

  • List of stockholders
  • All capital issues
  • Stock value over years
  • Compensation of boards and directors
  • Composition of boards and committees
  • Family relations within the company
  • List of companies related to family members
  • Stock details
  • Intangible details
  • Auditing details
  • Dividends details
library(GetFREData)
library(tidyverse)

search_company('grendene')
> search_company('grendene')
Fetching info on B3 companies
	Dowloading file from CVM
	Reading file from CVM
	Saving cache data
	Got 2355 lines for 2314 companies [Actives = 671 Inactives = 1654]
Found 1 companies:
GRENDENE SA | situation = ATIVO | sector = Textil e Vestuario | CD_CVM = 19615
# A tibble: 1 x 44
  CD_CVM DENOM_SOCIAL DENOM_COMERC SETOR_ATIV  PF_PJ CNPJ   DT_REG DT_CONST DT_CANCEL
   <dbl> <chr>        <chr>        <chr>       <chr> <chr>  <chr>  <chr>    <chr>    
1  19615 GRENDENE SA  GRENDENE SA  Textil e ~  PJ    89850~ 26/10~ 25/02/1~ NA       
# ... with 35 more variables: MOTIVO_CANCEL <chr>, SIT_REG <chr>, DT_INI_SIT <chr>,
#   SIT_EMISSOR <chr>, DT_INI_SIT_EMISSOR <chr>, CATEG_REG <chr>,
#   DT_INI_CATEG <chr>, AUDITOR <chr>, CNPJ_AUDITOR <dbl>, TP_ENDER <chr>,
#   LOGRADOURO <chr>, COMPL <chr>, BAIRRO <chr>, CIDADE <chr>, UF <chr>, PAIS <chr>,
#   CD_POSTAL <lgl>, TEL <chr>, FAX <chr>, EMAIL <chr>, TP_RESP <chr>, RESP <chr>,
#   DT_INI_RESP <chr>, LOGRADOURO_RESP <chr>, COMPL_RESP <chr>, BAIRRO_RESP <chr>,
#   CIDADE_RESP <chr>, UF_RESP <chr>, PAIS_RESP <chr>, CEP_RESP <dbl>,
#   TEL_RESP <chr>, FAX_RESP <chr>, EMAIL_RESP <chr>, TP_MERC <chr>,
#   cnpj_number <dbl>

4. さいごに

正直、ブラジルの会社情報をどれだけ使うか分かりませんが、もしかしたら将来必要になるかも。

Add a Comment

メールアドレスが公開されることはありません。