Learn R Programming

ColOpenData (version 1.0.0)

name_to_code_dep: Retrieve departments' DIVIPOLA codes from names

Description

Retrieve departments' DIVIPOLA codes from their names.

Usage

name_to_code_dep(department_name)

Value

character vector with the DIVIPOLA codes of the departments.

Arguments

department_name

character vector with the names of the departments.

Examples

Run this code
if (FALSE) { # identical(tolower(Sys.getenv("NOT_CRAN")), "true")
dptos <- c("Tolima", "Huila", "Amazonas")
name_to_code_dep(dptos)
}

Run the code above in your browser using DataLab