Fetches BDDK data for a range of months by calling fetch_bddk1 iteratively.
fetch_bddk(
start_year,
start_month,
end_year,
end_month,
table_no,
grup_kod = 10001,
currency = "TL",
lang = "en",
delay = 0.5,
verbose = TRUE
)Starting/ending year (YYYY).
Starting/ending month (1-12).
Table number to fetch (1-17). No default.
Use list_tables with source = "bddk" to see available options.
Group code (10001-10016). Default 10001.
Use list_groups with source = "bddk" to see available options.
Currency code ("TL" or "USD"). Default "TL".
Language ("en" or "tr"). Default "en".
Delay between requests in seconds. Default 0.5.
Print progress messages. Default TRUE.
Combined data frame with "fetch_info" attribute.
fetch_finturk() for quarterly province-level data.
# \donttest{
# Fetch multiple months
my_dat <- fetch_bddk(2024, 1, 2024, 3, table_no = 15)
#> Fetching table 15 for 3 months: 2024-01 to 2024-03
#> [1/3] 2024-01... 32 rows
#> [2/3] 2024-02... 32 rows
#> [3/3] 2024-03... 32 rows
# }