pivot_longer_boj | R Documentation |
Convert a BOJ data set to long format
pivot_longer_boj(tbl)
tbl |
Tibble. A tibble data frame containing a BOJ data set (usually
obtained via |
A tibble data frame in long format.
ds <- get_boj_datasets()
sppi <- get_boj(ds$url[(ds$name == "sppi_q_en")], auto_pivot = FALSE)
sppi <- subset(sppi, code == "PRCS15_52S0000000_CQ")
sppi <- pivot_longer_boj(sppi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.