Target Balances

Data - ECB

Info

source dataset .html .RData
ecb ILM_PUB 2024-10-08 2024-09-10
ecb TGB 2024-10-08 2024-12-06

Data on monetary policy

source dataset .html .RData
bdf FM 2024-12-04 2024-12-04
bdf MIR 2024-07-26 2024-07-01
bdf MIR1 2024-11-29 2024-11-30
bis CBPOL 2024-11-19 2024-11-19
ecb BSI 2024-11-19 2024-11-19
ecb BSI_PUB 2024-11-19 2024-11-21
ecb FM 2024-12-04 2024-12-04
ecb ILM 2024-10-08 2024-11-21
ecb ILM_PUB 2024-10-08 2024-09-10
ecb liq_daily 2024-10-08 2024-09-11
ecb MIR 2024-06-19 2024-12-04
ecb RAI 2024-10-08 2024-10-30
ecb SUP 2024-10-08 2024-10-08
ecb YC 2024-11-19 2024-11-19
ecb YC_PUB 2024-10-08 2024-10-08
eurostat ei_mfir_m 2024-12-04 2024-12-04
eurostat irt_st_m 2024-12-04 2024-12-04
fred r 2024-12-04 2024-12-04
oecd MEI 2024-04-16 2024-06-30
oecd MEI_FIN 2024-09-15 2024-12-04

LAST_COMPILE

LAST_COMPILE
2024-12-06

Last

TIME_PERIOD FREQ Nobs
2024-10 M 44

FREQ

Code
TGB %>%
  group_by(FREQ) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  {if (is_html_output()) print_table(.) else .}
FREQ Nobs
M 10648

REF_AREA

Code
TGB %>%
  left_join(REF_AREA, by = "REF_AREA") %>%
  group_by(REF_AREA, Ref_area) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  mutate(Loc = gsub(" ", "-", str_to_lower(Ref_area)),
         Loc = paste0('<img src="../../icon/flag/vsmall/', Loc, '.png" alt="Flag">')) %>%
  select(Loc, everything()) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .}

TIME_PER_COLLECT

Code
TGB %>%
  group_by(TIME_PER_COLLECT) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  {if (is_html_output()) print_table(.) else .}
TIME_PER_COLLECT Nobs
A 6292
E 4356

TIME_PERIOD

Code
TGB %>%
  group_by(TIME_PERIOD) %>%
  summarise(Nobs = n()) %>%
  arrange(desc(TIME_PERIOD)) %>%
  print_table_conditional()

Target Balances

Values

Code
TGB %>%
  filter(REF_AREA %in% c("FR", "DE", "IT", "GR"),
         TIME_PER_COLLECT == "A") %>%
  left_join(REF_AREA, by = "REF_AREA") %>%
  month_to_date() %>%
  filter(!is.na(OBS_VALUE)) %>%
  mutate(OBS_VALUE = OBS_VALUE/1000) %>%
  left_join(colors, by = c("Ref_area" = "country")) %>%
  mutate(color = ifelse(REF_AREA == "U2", color2, color)) %>%
  ggplot() + theme_minimal() +
  geom_line(aes(x = date, y = OBS_VALUE, color = color)) + 
  add_flags(4) + scale_color_identity() +
  scale_x_date(breaks = seq(1920, 2025, 2) %>% paste0("-01-01") %>% as.Date,
               labels = date_format("%Y")) +
  theme(legend.position = c(0.35, 0.85),
        legend.title = element_blank()) +
  scale_y_continuous(breaks = seq(-3000, 3000, 100),
                     labels = dollar_format(accuracy = 1, prefix = "", suffix = " Bn€")) +
  ylab("Target Balances") + xlab("")

Table

Code
TGB %>%
  filter(TIME_PER_COLLECT == "A",
         TIME_PERIOD %in% c("2019-02", "2020-06", "2020-10")) %>%
  left_join(REF_AREA, by = "REF_AREA") %>%
  mutate(Ref_area = ifelse(REF_AREA == "4F", "Europe", Ref_area),
         OBS_VALUE = round(OBS_VALUE)) %>%
  select(REF_AREA, Ref_area, TIME_PERIOD, OBS_VALUE) %>%
  spread(TIME_PERIOD, OBS_VALUE) %>%
  mutate(Change = `2020-10`-`2019-02`) %>%
  mutate(Loc = gsub(" ", "-", str_to_lower(Ref_area)),
         Loc = paste0('<img src="../../icon/flag/vsmall/', Loc, '.png" alt="Flag">')) %>%
  select(Loc, everything()) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .}