checkHSRevisionYearAndDigits: Check HS Product Coding Request

Description Usage Arguments Value

View source: R/load.R

Description

checkHSRevisionYearAndDigits is a convenience function to make sure that the user requests a valid coding scheme for OEC data.

Usage

1
checkHSRevisionYearAndDigits(hs_rev_year, hs_digits)

Arguments

hs_rev_year

HS coding scheme revision year (can be "1992", "1996", "2002", or "2007").

hs_digits

Number of digits in HS coding scheme (can be "4" or "6").

Value

TRUE if requested HS coding scheme is valid, FALSE otherwise.


thomnific/ecxplor documentation built on Sept. 29, 2020, 3:37 p.m.