View source: R/nabat_gql_queries.R
get_nabat_gql_token | R Documentation |
Get a NABat GQL token to use for queries
get_nabat_gql_token(
username = NULL,
password = NULL,
branch = "prod",
url = NULL,
aws_gql = NULL,
aws_alb = NULL,
docker = FALSE
)
username |
(optional) String your NABat username from https://sciencebase.usgs.gov/nabat/#/home |
password |
(optional) String it will prompt you for your password |
branch |
(optional) String that defaults to 'prod' but can also be 'dev'|'beta'|'local' |
url |
(optional) String url to use for GQL |
aws_gql |
(optional) String url to use in aws |
aws_alb |
(optional) String url to use in aws |
docker |
(optional) Boolean if being run in docker container or not |
## Not run:
nabat_gql_token = get_nabat_gql_token(username = 'NABat_Username')
# Prompts for password
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.