Consolidated banking statistics - CBS

Data - BIS

Code
CBS <- read_parquet("CBS.parquet")

Structure

iso3c, iso2c, Reporting country

Code
CBS |>
  arrange(iso3c, date) |>
  group_by(iso3c, iso2c, `Reporting country`) |>
  summarise(Nobs = n(),
            start = first(date),
            end = last(date)) |>
  arrange(-Nobs) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}