spod_zone_names_en2es: Translate zone names from English to Spanish

View source: R/internal-utils.R

spod_zone_names_en2esR Documentation

Translate zone names from English to Spanish

Description

Translate zone names from English to Spanish

Usage

spod_zone_names_en2es(
  zones = c("districts", "dist", "distr", "distritos", "municipalities", "muni",
    "municip", "municipios", "lua", "large_urban_areas", "gau", "grandes_areas_urbanas")
)

Arguments

zones

The zones for which to download the data. Can be "districts" (or "dist", "distr", or the original Spanish "distritos") or "municipalities" (or "muni", "municip", or the original Spanish "municipios") for both data versions. Additionaly, these can be "large_urban_areas" (or "lua", or the original Spanish "grandes_areas_urbanas", or "gau") for v2 data (2022 onwards).

Value

A character string with the translated zone name. Or NULL if the zone name is not recognized.


spanishoddata documentation built on April 12, 2025, 1:24 a.m.