get_productcode: Obtain a valid product codes

Description Usage Arguments Value Examples

View source: R/get_productcode.R

Description

This function takes a text string and searches within the package data for all matching product codes in the context of valid API product codes.

Usage

1
get_productcode(productname = "animals")

Arguments

productname

A text string such as "Animals", "COPPER" or "fruits".

Value

A tibble with all possible matches (no uppercase distinction) showing the product name, product code and corresponding trade classification (e.g. HS92 or SITC)

Examples

1
get_productcode("animals")

pachamaltese/OEC documentation built on May 24, 2019, 5:57 p.m.