set_country {gdldata}R Documentation

Set country to retrieve data for

Description

The country to retrieve GDL indicator data for.

Usage

set_country(session, country)

Arguments

session

A valid GDL session object to interface with.

country

An ISO3 country code.

Value

An amended GDL session object.

Examples

## Not run: 
# Create a session using your API token (provided by environment here)
session <- gdl_session(Sys.getenv('GDL_API_TOKEN'))
session <- set_country(session, 'IND')

## End(Not run)

[Package gdldata version 0.1 Index]