code_to_name: Returns census names corresponding to municipality codes.

View source: R/code_to_name.R

code_to_nameR Documentation

Returns census names corresponding to municipality codes.

Description

Returns census names corresponding to municipality codes.

Usage

code_to_name(code)

Arguments

code

Municipality code. If using 6-digit municipalities, use character class.

Value

Character vector. NA if not found.

Examples

  code_to_name(c(15005, 48020))
  code_to_name(c(35001))
  code_to_name(c(35001, "035001"))


franvillamil/muniSpain documentation built on June 1, 2024, 4:31 a.m.