get_metadata_raw | R Documentation |
get_metadata_raw()
calls the metadata API.
Be aware that this function will still return a value and not throw an error if the indicator does not exist.
get_metadata_raw(indicator, lang = "PT")
indicator |
INE indicator ID as a 7 character string. Example: "0010003". |
lang |
Only "PT" implemented. |
API response body as list. Returns NULL with an informative message if no internet connection, timeout or HTTP error.
is_indicator_valid()
can be used to check if the indicator is valid before calling this function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.