Learn R Programming

copernicusR (version 0.1.0)

copernicus_get_credentials: Get Copernicus Marine credentials

Description

Retrieves stored Copernicus Marine credentials from session options or environment variables.

Usage

copernicus_get_credentials(mask_password = TRUE)

Value

List with username and password (optionally masked).

Arguments

mask_password

Logical. Should password be masked in output? Default: TRUE.

Examples

Run this code
# Get credentials (password masked)
copernicus_get_credentials()

# Get credentials (password visible - use with caution)
copernicus_get_credentials(mask_password = FALSE)

Run the code above in your browser using DataLab