View source: R/copernicus_login.r
copernicus_login | R Documentation |
This login method is only used by the
download methods that are deprecated by Copernicus Marine Services. Use
cms_login()
instead.
copernicus_login(
username = getOption("CopernicusMarine_uid", ""),
password = getOption("CopernicusMarine_pwd", "")
)
username |
Your Copernicus marine user name. Can be provided as
|
password |
Your Copernicus marine password. Can be provided as
|
Returns a logical
value indicating if the login is successful.
The response from the login page is returned as an attribute named response
.
Pepijn de Vries
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.