set_indicators | R Documentation |
Sets the indicators to retrieve from the dataset.
set_indicators(session, indicators)
session |
A valid GDL session object to interface with. |
indicators |
Vector of indicators to retrieve (string) |
An amended GDL session object.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.