Skip to contents

Check HS classification parameter

Usage

check_clCode(commodity_classification)

Arguments

commodity_classification

A character string specifying the HS classification code. Must be "HS".

Value

A character string specifying the HS classification code.

Examples

if (FALSE) { # interactive()
untrader:::check_clCode("HS") # returns "HS"
untrader:::check_clCode("ISIC") # throws an error because "ISIC" is not a valid classification code
}