gta_cpc_code_check: Check whether your CPC codes are consistent with CPC 2.1.

View source: R/gta cpc code check.R

gta_cpc_code_checkR Documentation

Check whether your CPC codes are consistent with CPC 2.1.

Description

This function checks whether a vector of CPC codes is consistent with CPC 2.1 and returns it as a vector of 3-digit level codes.

Usage

gta_cpc_code_check(codes)

Arguments

codes

Supply the CPC codes you want to check. Only 3-digit level CPC codes are allowed. If mixing 2-digit and 3-digit CPC sector codes, place 2-digit codes inside the gta_cpc_code_expand function.

Author(s)

Global Trade Alert

References

www.globaltradealert.org


global-trade-alert/gtalibrary documentation built on April 5, 2024, 1:54 p.m.