Learn R Programming

gdldata (version 0.1)

set_country: Set country to retrieve data for

Description

The country to retrieve GDL indicator data for.

Usage

set_country(session, country)

Value

An amended GDL session object.

Arguments

session

A valid GDL session object to interface with.

country

An ISO3 country code.

Examples

Run this code
if (FALSE) {
# Create a session using your API token (provided by environment here)
session <- gdl_session(Sys.getenv('GDL_API_TOKEN'))
session <- set_country(session, 'IND')
}

Run the code above in your browser using DataLab