nsrr_token | R Documentation |
NSRR Token
nsrr_token(token = NULL)
nsrr_have_token(token = NULL)
nsrr_auth(token = NULL)
nsrr_authenticated(token = NULL)
token |
Token for NSRR resources. Found at https://sleepdata.org/token |
A character vector or NULL
is.null(nsrr_token())
if (!is.null(nsrr_token())) {
res = nsrr_auth()
res$authenticated
}
bad_res = nsrr_auth("")
bad_res$authenticated
nsrr_have_token()
nsrr_authenticated()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.