get_boj: Download and parse a BOJ data set

View source: R/BOJ.R

get_bojR Documentation

Download and parse a BOJ data set

Description

Download and parse a BOJ data set

Usage

get_boj(item_url, auto_pivot = TRUE, ...)

Arguments

item_url

Character. URL of the data set to be imported (usually obtained via get_boj_datasets()).

auto_pivot

Logical. Controls whether source data set is converted to long format. Set this to FALSE to disable conversion (default: TRUE).

...

Arguments passed to download.file() (e.g. quiet = TRUE).

Value

A tibble data frame, or a list of tibble data frames in cases where the source zip file contains multiple csv files.

Examples


ds <- get_boj_datasets()
df <- get_boj(ds$url[(ds$name == "sppi_q_en")])


BOJ documentation built on April 12, 2025, 9:15 a.m.

Related to get_boj in BOJ...