get_metadata | R Documentation |
Get metadata for the selected indicator from the INE API
Be aware that this function will still return a value and not throw an error if the indicator does not exist.
get_metadata(indicator, lang = "PT")
indicator |
INE indicator ID as a 7 character string. Example: "0010003". |
lang |
One of "PT" or "EN". Default is "PT". |
API response body as list.
is_indicator_valid()
can be used to check if the indicator is valid before calling this function.
get_metadata("0011823")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.