Skip to contents

Returns the possible values for a given filter name. The filter argument is passed verbatim to the API and is case-sensitive — use the exact name returned by comex_filters() (for example "economicBlock", "BECLevel1", "SITCSection", "ISICSection", "subHeading", "heading", "chapter").

Usage

comex_filter_values(
  filter,
  type = c("general", "city", "historical"),
  language = "en",
  verbose = FALSE
)

Arguments

filter

Filter name as returned by comex_filters() (e.g. "country", "state", "ncm", "economicBlock", "BECLevel1", "SITCSection", "ISICSection").

type

Data type: "general" (default), "city", or "historical".

language

Language: "pt", "en", or "es". Default: "en".

verbose

Logical. Show progress messages. Default: FALSE.

Value

A data.frame with filter values.

Examples

if (FALSE) { # \dontrun{
comex_filter_values("country")
comex_filter_values("state", type = "city")
comex_filter_values("economicBlock")
comex_filter_values("BECLevel1")
comex_filter_values("ISICSection")
} # }