Learn R Programming

concordance (version 1.6)

extend_concordance: extend_concord

Description

Product Concordance (for NAICS and SIC)

Usage

extend_concord(sourcevar, origin, destination)

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 "")

Value

Returns list of concorded codes. Does not differentiate between codes corresponding to different codes in input vector.

Details

Should not be called directly.

Used by concord() function to perform concordance to and/or from NAICS and SIC (via HS.) The following strings can be used as arguments for origin or destination: "hs" (for HS Combined), "hs0" (1988/92), "hs1" (1996), "hs2" (2002), "hs3" (2007), "hs4" (2012), "isic2", "isic3", "sitc1", "sitc2", "sitc3", "sitc4", "sic", "naics", and "bec".

Also performs concordance of truncated (shorter) or disaggregated (longer) codes.

Examples

Run this code
# NOT RUN {
extend_concord('0272','SIC','NAICS')
## % Returns vector 112920
# }

Run the code above in your browser using DataLab