Returns a list of data levels available in the current dataset.
Examples
# Create a session using your API token (provided by environment here)
session <- gdl_session(Sys.getenv('GDL_API_TOKEN'))
# Request list of available levels
levels <- gdl_levels(session)
head(levels, n=10)
#> id_level level
#> 1 1 National
#> 2 2 Urban & rural
#> 3 3 Poor & non-poor
#> 4 5 Wealth quartiles
#> 5 4 Subnational regions