gdl_countries {gdldata} | R Documentation |
Get country list
Description
Returns a list of countries available in the current dataset.
Usage
gdl_countries(session)
Arguments
session |
A valid GDL session object to interface with. |
Value
A data frame containing a list of countries for the dataset.
Examples
## Not run:
# Create a session using your API token (provided by environment here)
session <- gdl_session(Sys.getenv('GDL_API_TOKEN'))
# Request list of countries
countries <- gdl_countries(session)
head(countries, n=10)
## End(Not run)
[Package gdldata version 0.1 Index]