knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  warning = FALSE,
  message = FALSE,
  dpi = 300,
  tidy = "styler",
  dev = "ragg_png",
  out.width = "100%"
)

This annex shows an interactive version of the mapSpain::esp_codelist data frame. That dataset contains the Spanish region codes under different schemes, and different naming versions on several languages.

Names and codes of the spanish regions

library(mapSpain)
library(reactable)

data(esp_codelist)


reactable(esp_codelist,
  filterable = TRUE,
  searchable = TRUE,
  showPageSizeOptions = TRUE,
  striped = TRUE,
  paginationType = "jump",
  elementId = "esp_codelist"
)


dieghernan/mapSpain documentation built on Aug. 26, 2024, 8:44 p.m.