Learn R Programming

gdldata (version 0.1)

gdl_session: GDL session constructor

Description

Returns a new GDL session object

Usage

gdl_session(token)

Value

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

Arguments

token

A valid GDL API token, obtainable from GlobalDataLab.org

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'))
}

Run the code above in your browser using DataLab