powered by
Retrieves Indonesia's Unemployment, total ( for the years 2010 to 2022 using the World Bank Open Data API. The indicator used is SL.UEM.TOTL.ZS.
SL.UEM.TOTL.ZS
get_indonesia_unemployment()
A tibble with:
indicator: Indicator name.
indicator
country: Country name ("Indonesia").
country
year: Year (integer).
year
value: Unemployment rate (numeric).
value
value_label: Formatted unemployment rate (e.g., "5.2
value_label
Returns NULL if API request fails or data is unavailable.
NULL
If the API request fails for any reason (network issue, timeout, invalid HTTP status, or malformed JSON), the function returns NULL with an informative message.
# \donttest{ get_indonesia_unemployment() # }
Run the code above in your browser using DataLab