gdl_session {gdldata}R Documentation

GDL session constructor

Description

Returns a new GDL session object

Usage

gdl_session(token)

Arguments

token

A valid GDL API token, obtainable from GlobalDataLab.org

Value

A GDL session object for the token with default indicators set.

Examples

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

## End(Not run)

[Package gdldata version 0.1 Index]