The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Type: Package
Title: Gathering Monthly Banking Sector Data from BDDK of Turkey
Version: 0.1.1
Maintainer: Ozancan Ozdemir <ozancanozdemir@gmail.com>
Description: Fetches monthly financial tables and banking sector data published on the official website of the Banking Regulation and Supervision Agency of Turkey and also enables you to save it as an Excel file. It is a R implementation of the Python package https://pypi.org/project/bddkdata/.
License: MIT + file LICENSE
URL: https://github.com/ozancanozdemir/bddkR
BugReports: https://github.com/ozancanozdemir/bddkR/issues
Depends: R (≥ 4.0)
Imports: httr, jsonlite, dplyr, writexl, lubridate
Encoding: UTF-8
RoxygenNote: 7.2.3
Suggests: testthat (≥ 3.0.0)
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2025-09-09 20:47:36 UTC; ozancanozdemir
Author: Ozancan Ozdemir [aut, cre]
Repository: CRAN
Date/Publication: 2025-09-14 16:30:02 UTC

Fetches data from the BDDK API

Description

Fetches data from the BDDK API

Usage

fetch_data(
  start_year,
  start_month,
  end_year,
  end_month,
  table_no,
  currency,
  group,
  lang = "tr",
  save_excel = FALSE,
  verbose = TRUE
)

Arguments

start_year

integer: Starting year (YYYY format)

start_month

integer: Starting month (1-12)

end_year

integer: Ending year (YYYY format)

end_month

integer: Ending month (1-12)

table_no

integer: Table number (e.g., 1)

currency

character: Currency type (e.g., "TL", "USD")

group

integer: Group type (e.g., 10001)

lang

character: Language selection, default 'tr'

save_excel

logical: If TRUE, saves data to Excel. Default is FALSE.

verbose

logical: If TRUE, print a message. Default is TRUE.

Value

data.frame: Returns data as a data.frame. Returns NULL if no data is available.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.