sel <-c("Federal Reserve (FED)", "European Central Bank (ECB)","Bank of England (BOE)", "Bank of Japan (BOJ)","Swiss National Bank (SNB)")d <- policy_rates |>filter(central_bank %in% sel)if (n_distinct(d$scraped_date) <2) { knitr::asis_output(paste0("_Série trop courte (", n_distinct(d$scraped_date)," relevé) — le graphique se remplira au fil des instantanés quotidiens._"))} else { d |>ggplot() +geom_step(aes(x = scraped_date, y = rate, color = central_bank)) +theme_minimal() +xlab("") +ylab("Taux directeur (%)") +scale_color_viridis_d() +theme(legend.position ="bottom", legend.title =element_blank())}