Learn R Programming

ineptR (version 0.2.1)

get_metadata_raw: Get raw indicator metadata

Description

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

Usage

get_metadata_raw(indicator, lang = "PT")

Value

API response body as list. Returns NULL with an informative message if no internet connection, timeout or HTTP error.

Arguments

indicator

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

lang

Only "PT" implemented.

See Also

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