get_metadata_variables | R Documentation |
Get all available variables
get_metadata_variables(
operation = NULL,
lang = "ES",
det = 0,
page = 0,
validate = TRUE,
verbose = FALSE
)
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 |
lang |
(string): language of the retrieved data. Set to 'ES' for Spanish or set to 'EN' for English. |
det |
(int): level of detail. Valid values: 0, 1 or 2. |
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. |
Data frame with information of the available variables
# Gel all variables
df <- get_metadata_variables()
head(df)
# Get variables for a specific operation
df <- get_metadata_variables(operation = "IPC", validate = FALSE)
head(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.