set_indicators: Set the indicators to retrieve

View source: R/setter_funcs.R

set_indicatorsR Documentation

Set the indicators to retrieve

Description

Sets the indicators to retrieve from the dataset.

Usage

set_indicators(session, indicators)

Arguments

session

A valid GDL session object to interface with.

indicators

Vector of indicators 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_indicators(session, c('fridge', 'cellphone', 'tv'))

## End(Not run)

gdldata documentation built on Sept. 21, 2023, 1:07 a.m.