Get all values for a specific variable
Usage
get_metadata_values(
operation = NULL,
variable = NULL,
det = 0,
lang = "ES",
page = 0,
validate = TRUE,
verbose = FALSE
)
Arguments
- operation
(string): code of the operation. Provide code to get all the values for the given operation. To obtain a list of available operations see
get_metadata_operations()
.- variable
(int): id of a variable. To obtain a list of available variables see
get_metadata_variables()
.- det
(int): level of detail. Valid values: 0, 1 or 2.
- 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.