View source: R/set_credentials.R
set_credentials | R Documentation |
To use some functionalities of smosr
package (e.g. access the server
or download data to a local computer), the user should first register at
Barcelona Expert Center (BEC) webpage. This function allows the authenticated
users to set their BEC credentials (username and password) for the current R
session which are used internally in find_smos()
and download_smos()
.
set_credentials(username, password)
username |
a character string containing BEC server username. |
password |
a character string containing BEC server password. |
If you do not have your BEC login details yet, please register on https://bec.icm.csic.es/bec-ftp-service-registration/.
a character string with the inputs pasted together in the format
required by find_smos()
and
download_smos()
.
## Not run:
set_credentials("username", "password")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.