get_boj {BOJ}R 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")])


[Package BOJ version 0.3.4 Index]