Description
Convert Vietnam Provincial Codes.
Description
Converts Vietnam's provinces' names and ID across different formats. Handles diacritics and different spellings.
README.md
Usage
Use the main function vietnamcode
to convert Vietnam's provinces' names and ID across different formats. The function can handle diacritics and various spellings.
source <- "HCMC"
vietnamcode::vietnamcode(source, "province_name", "province_name")
vietnamcode::vietnamcode(source, "province_name", "pci")
vietnamcode::vietnamcode(source, "province_name", "enterprise_census")
Installation
install.packages("vietnamcode") # Or
devtools::install_github("LaDilettante/vietnamcode")