wbstats (version 0.1)

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

Description

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

Usage

wbcache(lang = c("en", "es", "fr", "ar", "zh"))

Arguments

lang
Language in which to return the results. If lang is unspecified, english is the default.

Value

A list containing the following items:
  • countries: A data frame. The result of calling wbcountries
  • indicators: A data frame.The result of calling wbindicators
  • sources: A data frame.The result of calling wbsources
  • datacatalog: A data frame.The result of calling wbdatacatalog
  • topics: A data frame.The result of calling wbtopics
  • income: A data frame.The result of calling wbincome
  • lending: A data frame.The result of calling wblending

Examples

Run this code
# default is english. To specific another language use argument lang
wbcache(lang = "es")

Run the code above in your browser using DataCamp Workspace