name_to_standard_mun {ColOpenData} | R Documentation |
Municipality names are usually manually input, which leads to multiple errors and lack of standardization. This functions translates municipality names to their respective official names from DIVIPOLA.
name_to_standard_mun(department_name, municipality_name)
department_name |
character vector with the names of the departments containing the municipalities. |
municipality_name |
character vector with the names to be translated. |
character vector with the DIVIPOLA name of the municipalities.
dptos <- c("Bogota", "Tolima")
mpios <- c("Bogota DC", "CarmendeApicala")
name_to_standard_mun(dptos, mpios)