Learn R Programming

priceR (version 1.0.2)

show_countries: Show available country codes

Description

`show_countries` calls the World Bank API and retrieves a list of available countries and regions

Usage

show_countries()

Arguments

Value

A data.frame of countries available to query using the World Bank API

Examples

Run this code

# Simply call show_countries() to receive a dataframe of all countries (and regions) and their
# iso2Code

# show_countries()
#       iso2Code         country_name
#   1         AW                Aruba
#   2         AF          Afghanistan
#   3         A9               Africa
#   4         AO               Angola
#   Etc


Run the code above in your browser using DataLab