pivot_longer_bis: Convert a BIS data set to long format

View source: R/BIS.R

pivot_longer_bisR Documentation

Convert a BIS data set to long format

Description

Convert a BIS data set to long format

Usage

pivot_longer_bis(tbl)

Arguments

tbl

Tibble. A tibble data frame containing a BIS data set (usually obtained via get_bis(url, auto_pivot = FALSE)).

Value

A tibble data frame.

Examples


ds    <- get_datasets()
rates <- get_bis(ds$url[ds$id == "full_cbpol_m_csv"], auto_pivot = FALSE)
rates <- subset(rates, ref_area %in% c("US", "DE", "JP"))
rates <- pivot_longer_bis(rates)


BIS documentation built on Nov. 21, 2022, 5:06 p.m.