Skip to contents

Get all available classifications

Usage

get_metadata_classifications(
  operation = NULL,
  lang = "ES",
  validate = TRUE,
  verbose = FALSE
)

Arguments

operation

(string): Code of the operation. Provide code to get all the classifications for the given operation. To obtain a list of available operations see get_metadata_operations(). If no operation is specified then all the classifications will be shown.

lang

(string): language of the retrieved data. Set to 'ES' for Spanish or set to 'EN' for English.

validate

(logical): validate input parameters. A FALSE value means fewer API calls.

verbose

(logical): print additional information, including the URL to call the API service.

Value

Data frame with information of the available classifications

Examples

if (FALSE) { # interactive()
# Get all classifications
df <- get_metadata_classifications()
head(df)

# Get classifications for a specific operation
df <- get_metadata_classifications(operation = "IPC", validate = FALSE)
head(df)
}