World Bank Data In R Fix: Download
If you need to know more about the source of the data or the specific definition used by the World Bank, you can pull the cache:
df <- wb_data(indicator = c("gdp_capita" = "NY.GDP.PCAP.CD"), country = "USA", start_date = 2010) Use code with caution. 5. Quick Visualization download world bank data in r
# Returns a list of all countries, indicators, and sources map_data <- wb_cachelist Use code with caution. Summary of Benefits If you need to know more about the
Once you have your indicator code, use the wb_data() function. You can specify countries, indicator codes, and a date range. and a date range.