comex_cgce: Get CGCE (Classification by Broad Economic Categories) table
Description
Returns the CGCE classification table from the /tables/classifications
endpoint. CGCE groups products by use or economic purpose (e.g. capital
goods, intermediate goods, consumer goods).
Usage
comex_cgce(
language = "en",
search = NULL,
add = NULL,
page = NULL,
per_page = NULL,
verbose = FALSE
)
Value
A data.frame with CGCE codes and descriptions.
Arguments
- language
Language: "pt", "en", or "es". Default: "en".
- search
Optional search term to filter results.
- add
Optional related table to include (e.g. "ncm").
- page
Page number for pagination. Default: NULL (all results).
- per_page
Number of results per page. Default: NULL.
- verbose
Logical. Show progress messages. Default: FALSE.
Examples
Run this codeif (FALSE) {
# All CGCE classifications
comex_cgce()
# Search within CGCE
comex_cgce(search = "110")
}
Run the code above in your browser using DataLab