checkHSRevisionYearAndDigitsForInputYear: Check HS Product Coding Request For Input Year

Description Usage Arguments Value

View source: R/load.R

Description

checkHSRevisionYearAndDigitsForInputYear is a convenience function to make sure that the user requests a valid coding scheme and input year for OEC data.

Usage

1
checkHSRevisionYearAndDigitsForInputYear(hs_rev_year, hs_digits, input_year)

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

input_year

Requested integer input year.

Value

TRUE if requested data is valid, FALSE otherwise.


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