set_indicator: Set the indicator to retrieve

View source: R/setter_funcs.R

set_indicatorR Documentation

Set the indicator to retrieve

Description

Sets the indicator to retrieve from the dataset.

Usage

set_indicator(session, indicator)

Arguments

session

A valid GDL session object to interface with.

indicator

Indicator to retrieve (string)

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_indicator(session, 'iwi')

## End(Not run)

gdldata documentation built on March 16, 2026, 5:06 p.m.