copernicus_login {CopernicusMarine}R Documentation

Contact Copernicus Marine login page

Description

[Deprecated] This login method is only used by the download methods that are deprecated by Copernicus Marine Services. Use cms_login() instead.

Usage

copernicus_login(
  username = getOption("CopernicusMarine_uid", ""),
  password = getOption("CopernicusMarine_pwd", "")
)

Arguments

username

Your Copernicus marine user name. Can be provided as options(CopernicusMarine_uid = "my_user_name"), or as argument here.

password

Your Copernicus marine password. Can be provided as options(CopernicusMarine_pwd = "my_password"), or as argument here.

Value

Returns a logical value indicating if the login is successful. The response from the login page is returned as an attribute named response.

Author(s)

Pepijn de Vries

Examples

## Not run: 
## This will return FALSE if you have not set your account details with 'options'.
## If you have specified your account details and there are no other problems,
## it will return TRUE.
copernicus_login()

## End(Not run)

[Package CopernicusMarine version 0.2.3 Index]