get_metadata_raw: Get raw indicator metadata

View source: R/utils.R

get_metadata_rawR Documentation

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")

Arguments

indicator

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

lang

Only "PT" implemented.

Value

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

See Also

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


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