Package 'BOJ'

Title: Interface to Bank of Japan Statistics
Description: Provides an interface to Bank of Japan <https://www.boj.or.jp> statistics.
Authors: Stefan Angrick [aut, cre, cph]
Maintainer: Stefan Angrick <[email protected]>
License: MIT + file LICENSE
Version: 0.3
Built: 2024-10-31 06:32:12 UTC
Source: CRAN

Help Index


Download and parse a BOJ data set

Description

Download and parse a BOJ data set

Usage

get_boj(url, ...)

Arguments

url

URL of the data set to be imported (usually obtained through get_boj_datasets())

...

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

Value

A tibble data frame

Examples

## Not run: 
datasets <- get_boj_datasets()
df <- get_boj(datasets$url[(datasets$name == "sppi_q_en")])

## End(Not run)

Download and parse a list of available BOJ data sets

Description

Download and parse a list of available BOJ data sets

Usage

get_boj_datasets(url = "https://www.stat-search.boj.or.jp/info/dload_en.html")

Arguments

url

URL of the BOJ's Time-Series Data portal flat files page (optional).

Value

A tibble data frame

Examples

## Not run: 
datasets <- get_boj_datasets()

## End(Not run)