Installs your OTN username and password in your .Renviron file for repeated use.
Source: R/authentication.R
otn_set_credentials.RdThis code was adapted from tidycensus::census_api_key.
Note that this saves your credentials in your .Renviron, meaning that anyone
who is using your computer can theoretically access your username and password.
So... use this carefully!
Arguments
- network
Character. Lowercase code of the desired telemetry network. One of "otn", "act", "atap", "itag", "migramar", "nep", "npact", "pirat", or "otn_devel" (the OTN development server). Note that "etn", "fact", "glatos", "path" and "raft" are accepted, but only to produce an error and redirect you.
- temporary
Logical. Scrub credentials after the current session?
- overwrite
Logical. Overwrite previously-stored credentials?