wb_cache: Download an updated list of country, indicator, and source...

View source: R/end_points.R

wb_cacheR Documentation

Download an updated list of country, indicator, and source information

Description

Download an updated list of information regarding countries, indicators, sources, regions, indicator topics, lending types, income levels, and supported languages from the World Bank API

Usage

wb_cache(lang)

Arguments

lang

Language in which to return the results. If lang is unspecified, english is the default. For supported languages see wb_languages(). Possible values of lang are in the iso2c column. A note of warning, not all data returns have support for langauges other than english. If the specific return does not support your requested language by default it will return NA.

Value

A list containing the following items:

  • countries: The result of calling wb_countries()

  • indicators: The result of calling wb_indicators()

  • sources: The result of calling wb_sources()

  • topics: The result of calling wb_topics()

  • regions: The result of calling wb_regions()

  • income_levels: The result of calling wb_income_levels()

  • lending_types: The result of calling wb_lending_types()

  • languages: The result of calling wb_languages()


wbstats documentation built on Aug. 28, 2026, 5:08 p.m.