get_dim_info | R Documentation |
Get information about the dimensions of a given indicator
get_dim_info(indicator, lang = "PT")
indicator |
INE indicator ID as a 7 character string. Example: "0010003". |
lang |
One of "PT" or "EN". Default is "PT". |
If the indicator is not valid, returns "(PT) O codigo do indicador nao existe. / (EN) The indicator code does not exist."
Calling is_indicator_valid()
before using this function is recommended.
A data frame with dim_num (dimension number), abrv (dimension description) and versao (dimension version) for the selected indicator. A fourth column 'nota_dsg' is present for some indicators, with additional notes about the dimensions.
get_dim_info("0011823", lang = "EN")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.