| set_dataset | R Documentation | 
Switch the session to retrieve data from the dataset specified.
set_dataset(session, dataset)
| session | A valid GDL session object to interface with. | 
| dataset | Dataset identifier (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_dataset(session, 'shdi')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.