concordGB: concordGB

Description Usage Arguments Details Value Examples

View source: R/concordGB.R

Description

Product Concordance

Usage

1
concordGB(sourcevar, origin = "GB2011", destination = "isic4")

Arguments

sourcevar

Vector which contains the codes to be converted.

origin

Coding scheme of origin (name enclosed in quotes "").

destination

Coding scheme of destination (name enclosed in quotes "").

Details

Now GB2011 / GB2017 can be translated to isic4, and vice varsa. The transition among GB2002, GB2011 and GB2017 is also available. A product code is 4 digits.

R package concordance provides a concordance among HS, HS0, HS1, HS2, HS3, HS4, ISIC2, ISIC3, SITC1, SITC2, SITC3, SITC4, BEC, NAICS and SIC.

Value

Returns a vector of concorded codes.

Examples

1
2
3
4
# translate GB2011 codes to isic4 codes
concordGB(c('0142','2411'))
# translate GB2011 codes to GB2002 codes with 2 digits
concordGB('37','GB2011','GB2002')

common2016/GB2ISIC documentation built on July 19, 2020, 7:25 p.m.