+ - 0:00:00
Notes for current slide
Notes for next slide

tidyBdE tidyBdE-logo (on CRAN)

API package that helps to retrieve data from Banco de España.

Key features:

  • ~14.000 time series available. Specific series can be search by keyword.
  • Includes macroeconomic data from the Statistical Bulletin, key summary indicators, exchange rates and interest rates.

  • Helper functions to retrieve some of the most relevant indicators via bde_ind_* functions (bde_ind_unemployment_rate(), bde_ind_gdp_var(), bde_ind_ibex(), etc.).

  • Specific color palettes and theme for ggplot2.

Data sources:

  • Bank of Spain time-series bulk data download. This includes also data from ECB, INE, Eurostat, etc.

Output formats:

  • tibble, with dates and numbers formatted to base R specification (i.e. 2,000.32 with decimal comma is converted to 2000,32).
1

Quick demo

library(tidyBdE)
library(tidyverse)
euribor_month <- bde_ind_euribor_12m_monthly() %>%
filter(Date > "2010-01-01")
ggplot(euribor_month, aes(Date, Euribor_12M_Monthly)) +
geom_line(colour = bde_vivid_pal()(1)) +
scale_y_continuous(
labels = scales::number_format(suffix = "%")
) +
theme_bde() +
labs(
title = "Euribor 12 months",
subtitle = "Monthly data",
caption = "Source: BdE"
)

2

Quick demo

library(tidyBdE)
library(tidyverse)
euribor_month <- bde_ind_euribor_12m_monthly() %>%
filter(Date > "2010-01-01")
ggplot(euribor_month, aes(Date, Euribor_12M_Monthly)) +
geom_line(colour = bde_vivid_pal()(1)) +
scale_y_continuous(
labels = scales::number_format(suffix = "%")
) +
theme_bde() +
labs(
title = "Euribor 12 months",
subtitle = "Monthly data",
caption = "Source: BdE"
)

2
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow