import_bis_lbs: This function imports locational banking statistics from BIS...

import_bis_lbsR Documentation

This function imports locational banking statistics from BIS format

Description

This function imports locational banking statistics from BIS format

Usage

import_bis_lbs(
  file_path,
  my_frequency = NULL,
  my_measure = NULL,
  my_balance_sheet_position = NULL,
  my_type_of_instruments = NULL,
  my_currency_denomination = NULL,
  my_currency_type_of_reporting_country = NULL,
  my_parent_country = NULL,
  my_type_of_reporting_institutions = NULL,
  my_reporting_country = NULL,
  my_counterparty_sector = NULL,
  my_counterparty_country = NULL,
  my_position_type = NULL,
  pivot_to_long = FALSE
)

Arguments

file_path

string a file path to the source data file

my_frequency

time frequency of the data (default is NULL), available options are:

  • Quarterly

my_measure

(default is NULL), available options are:

  • FX and break adjusted change (BIS calculated)

  • Amounts outstanding / Stocks

my_balance_sheet_position

(default is NULL) available options are:

  • Total claims

  • Total liabilities

my_type_of_instruments

(default is NULL) available options are:

  • All instruments

  • Debt securities

  • Loans and deposits

  • Other instruments

  • Unallocated by instrument

  • Debt securities, short-term

my_currency_denomination

(default is NULL), available options are:

  • Swiss Franc

  • Euro

  • Pound Sterling

  • Japanese Yen

  • US Dollar

  • All currencies

  • All currencies excluding USD, EUR, JPY, CHF and GBP

  • Unallocated currencies

my_currency_type_of_reporting_country

(default is NULL), available options are:

  • All currencies (=D+F+U)

  • Foreign currency (ie currencies foreign to bank location country)

  • Domestic currency (ie currency of bank location country)

  • Unclassified currency

my_parent_country

string

my_type_of_reporting_institutions

(default is NULL), available options are:

  • All reporting banks/institutions (domestic, foreign, consortium and unclassified)

  • Foreign branches

  • Domestic banks

  • Foreign subsidiaries

my_reporting_country

string

my_counterparty_sector

(default is NULL), available options are:

  • All sectors

  • Banks, total

  • Non-financial corporations

  • Non-bank financial institutions

  • General government

  • Households and NPISHs

  • Banks, related offices

  • Banks, central banks

  • Non-banks, total

  • Non-financial sectors

  • Unallocated by sector

my_position_type

(default is NULL), available options are:

  • All

  • Cross-border

  • Local

  • Unallocated

pivot_to_long

reshape the data to long format? Default is FALSE

counterparty_country

string


MichaelGurkov/MiscImport documentation built on June 6, 2023, 10:53 p.m.