Writes API_USGS_PAT to the user's ~/.Renviron file and applies it immediately in the
current session. The same variable is used by package dataRetrieval, so
one key can be shared across both packages.
Details
Register for a free API key at https://api.waterdata.usgs.gov/signup/.