get_metadata: Get indicator metadata

View source: R/get_metadata.R

get_metadataR Documentation

Get indicator metadata

Description

[Experimental]
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.

Usage

get_metadata(indicator, lang = "PT")

Arguments

indicator

INE indicator ID as a 7 character string. Example: "0010003".

lang

One of "PT" or "EN". Default is "PT".

Value

API response body as list.

See Also

is_indicator_valid() can be used to check if the indicator is valid before calling this function.

Examples

get_metadata("0011823")


ineptR documentation built on Sept. 8, 2023, 5:44 p.m.