Skip to contents

Get all available variables

Usage

get_metadata_variables(
  operation = NULL,
  lang = "ES",
  page = 0,
  validate = TRUE,
  verbose = FALSE
)

Arguments

operation

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

lang

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

page

(int): page number. The retrieved result of the query is paginated (page=0 retrieves all pages).

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 variables

Examples

if (FALSE) {
get_metadata_variables()
get_metadata_variables(operation = "IPC")
}