login_sb: Log into ScienceBase with your myUSGS credentials

login_sbR Documentation

Log into ScienceBase with your myUSGS credentials

Description

BE CAREFUL NOT TO POST OR SHARE YOUR PASSWORD! 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.

Usage

login_sb(username, filename='~/.R/stream_metab.yaml')

Arguments

username

Your ScienceBase/myUSGS username, usually an email address

filename

The file path to a yaml file where fields for sb_user and sb_password can be found. This file will be ignored if username is given.


USGS-R/powstreams documentation built on June 3, 2023, 8:58 a.m.