Learn R Programming

comexr (version 0.2.1)

comex_isic: Get ISIC (International Standard Industrial Classification) table

Description

Queries the /tables/product-categories endpoint to retrieve ISIC classification data. ISIC is an international classification of economic activities developed by the United Nations.

Usage

comex_isic(
  language = "en",
  search = NULL,
  add = NULL,
  page = NULL,
  per_page = NULL,
  verbose = FALSE
)

Value

A data.frame with classification 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.

per_page

Number of results per page. Default: NULL.

verbose

Logical. Show progress messages. Default: FALSE.

Examples

Run this code
if (FALSE) {
# Browse product categories (includes ISIC)
comex_isic()

# Alternatively, look up ISIC values via filters:
comex_filter_values("isicSection")
}

Run the code above in your browser using DataLab