Get your username for the database of interest

getUserName(database = c("PacFIN"), datasourcename = lifecycle::deprecated())

Arguments

database

A string providing the name of the database that you wish to connect to. This string must match the name that is used to configure the database on your computer exactly. The default is "PacFIN" which will lead to pulling data from the Pacific Fisheries Information Network.

datasourcename

Deprecated as of version 0.2.9, use database instead.

Value

A string that can be used for username argument needed in Pull*().

Details

Use a system of rules to determine your username given the database of interest. As of 2023, only support for PacFIN is included but future versions of the codebase should support more databases such as NORPAC to facilitate pulling information regarding the Pacific Hake or whiting fishery.

See also

Author

Kelli F. Johnson

Examples

if (FALSE) { # \dontrun{
getUserName()
} # }