Translate department names to official departments' DIVIPOLA names
Source:R/divipola.R
name_to_standard_dep.Rd
Department names are usually manually input, which leads to multiple errors and lack of standardization. This functions translates department names to their respective official names from DIVIPOLA.
Examples
dptos <- c("Bogota DC", "San Andres")
name_to_standard_dep(dptos)
#> [1] "Bogotá, D.C."
#> [2] "Archipiélago de San Andrés. Providencia y Santa Catalina"