Skip to contents

Returns the list of indicators available in the current dataset.

Usage

gdl_indicators(session)

Arguments

session

A valid GDL session object to interface with.

Examples

# Create a session using your API token (provided by environment here)
session <- gdl_session(Sys.getenv('GDL_API_TOKEN'))
# Request list of available indicators
indicators <- gdl_indicators(session)
head(indicators, n=10)
#>                      topic indicator
#> 1  Wealth, Poverty, Assets       iwi
#> 2  Wealth, Poverty, Assets  iwipov70
#> 3  Wealth, Poverty, Assets  iwipov50
#> 4  Wealth, Poverty, Assets  iwipov35
#> 5  Wealth, Poverty, Assets        tv
#> 6  Wealth, Poverty, Assets    fridge
#> 7  Wealth, Poverty, Assets  washmach
#> 8  Wealth, Poverty, Assets  computer
#> 9  Wealth, Poverty, Assets  internet
#> 10 Wealth, Poverty, Assets cellphone
#>                                                    label
#> 1  Mean International Wealth Index (IWI) score of region
#> 2            % poor households (with IWI value under 70)
#> 3          % poorer households (with IWI value under 50)
#> 4         % poorest households (with IWI value under 35)
#> 5                                 % households with a TV
#> 6                       % households with a refrigerator
#> 7                    % households with a washing machine
#> 8                           % households with a computer
#> 9                      % households with internet access
#> 10                         % households with a cellphone