The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Encoding: UTF-8
Type: Package
Title: Convert Vietnam Provincial Codes
Version: 0.1.1
Maintainer: Anh Le <anh.le@duke.edu>
Description: Converts Vietnam's provinces' names and ID across different formats. Handles diacritics and different spellings.
Depends: R (≥ 3.1.0)
License: GPL-3
LazyData: TRUE
RoxygenNote: 5.0.1
Suggests: testthat
NeedsCompilation: no
Packaged: 2016-07-07 17:55:57 UTC; anh
Author: Anh Le [aut, cre]
Repository: CRAN
Date/Publication: 2016-07-07 20:24:13

Convert Vietnam provincial ID

Description

Converts Vietnam's provinces' names and ID across different formats. Handles diacritics and different spellings.

Usage

vietnamcode(sourcevar, origin = c("province_name", "enterprise_census",
  "enterprise_census_old", "enterprise_census_c", "pci"),
  destination = c("province_name", "province_name_diacritics",
  "enterprise_census", "enterprise_census_old", "enterprise_census_c", "pci"))

Arguments

sourcevar

Character vector that contains the codes or province names to be converted

origin

String that indicates the coding scheme of origin

destination

String that indicates the coding scheme of destination

Note

Supports the following coding schemes:

Examples

codes.of.origin <- vietnamcode::vietnamcode_data$province_name # Vector of values to be converted
vietnamcode(codes.of.origin, "province_name", "pci")

Vietnam provinces ID

Description

Vietnam provinces ID

Usage

vietnamcode_data

Format

A data frame

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.