March 2019
Beginner to intermediate
250 pages
6h 6m
English
We will use the wbstats package, which provides structured access to all of the information that's available from the World Bank API, including all annual, quarterly, and monthly data. In this package, the wb_cachelist function provides a snapshot of the available countries, indicators, and other relevant information, shown as follows:
library(wbstats)str(wb_cachelist, max.level = 1) ## List of 7 ## $ countries :'data.frame': 304 obs. of 18 variables: ## $ indicators :'data.frame': 16978 obs. of 7 variables: ## $ sources :'data.frame': 43 obs. of 8 variables: ## $ datacatalog:'data.frame': 238 obs. of 29 variables: ## $ topics :'data.frame': 21 obs. of 3 variables: ## $ income :'data.frame': 7 obs. of 3 variables: ...
Read now
Unlock full access