Use vietnamcode package to convert Vietnam’s provincial ID
If you have ever struggled with various coding schemes of Vietnam’s provincial IDs like me, there’s a solution! I wrote the vietnamcode
package to convert across all coding schemes, including provincial names with or without diacritics.
The main function is vietnamcode
– here’s how flexible it is:
The coding schemes supported are:
- province_name
- province_name_diacritics
- enterprise_census (old and new)
- PCI
If you find any bug, please let me know at my package on github. I hope you find it useful. Thanks to the people behind the package countrycode
for inspiration.
Leave a Comment