login_sb | R Documentation |
BE CAREFUL NOT TO POST OR SHARE YOUR PASSWORD! Even better, set up your
~/.R/stream_metab.yaml with fields for sb_user and sb_password so you never
again have to bring your password into the R global environment. If that file
exists and you call login_sb()
with no arguments, the file contents
will be used to log you in.
login_sb(username, filename = "~/.R/stream_metab.yaml")
username |
Your ScienceBase/myUSGS username, usually an email address |
filename |
DEPRECATED: The file path to a yaml file where fields for
sb_user and sb_password can be found. This file will be ignored if
|
Use the same username and password you set up via the ScienceBase interface
or your government employer. This function is equivalent to
sbtools::authenticate_sb
but easier to type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.