cms_login | R Documentation |
Contact Copernicus Marine login page and check if login is successful.
cms_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
|
This function will return a logical value indicating if the login is successful. It can be used to test your account details.
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.