gta_hs_vintage_converter: Convert HS codes of unkown vintage into HS 2012.

View source: R/gta hs vintage converter.R

gta_hs_vintage_converterR Documentation

Convert HS codes of unkown vintage into HS 2012.

Description

Returns it as a vector of 6-digit level HS 2012 codes.

Usage

gta_hs_vintage_converter(codes, origin = "best")

Arguments

codes

Supply the HS codes you want to check. Values with 2 or more digits are allowed. Values with more than 6 digits will be limited to 6. Please input the codes as integer.

origin

State the origin vintage, if you know it (options: '2002','2007','2012','2017','best', 'any'). Where 'best' selects the HS vintage with the most matches and 'any' selects HS codes from multiple origin vintages. Default is 'best'.

Author(s)

Global Trade Alert

References

www.globaltradealert.org


global-trade-alert/gtalibrary documentation built on April 26, 2024, 12:38 p.m.