View source: R/loginECOMS_UDG.R
loginECOMS_UDG - deprecated | R Documentation |
Provides HTTP authentication for accessing the ECOMS-UDG.
loginECOMS_UDG(username, password, proxy.host = NULL, proxy.port = NULL)
username |
A character string with the ECOMS UDG user |
password |
Character string. Authorized password |
proxy.host |
In case of a proxy connection, the name of the proxy host, as a character string |
proxy.port |
In case of a proxy connection, an integer indicating the proxy port |
Only registered users can access the data server of the ECOMS-UDG. Prior to data access, users must log in. Further details on registration for data access are provided in http://meteo.unican.es/ecoms-udg/DataServer/Registration.
This function is provided for compatibility with older versions of this package (formerly ecomsUDG.Raccess). This has been superseded by loginUDG
and It may eventually be completely removed.
https://meteo.unican.es/trac/wiki/udg/ecoms
## Not run:
username <- "myUsername"
password <- "myPassword"
# Deprecated:
loginECOMS_UDG(myUsername, myPassword)
# New way:
loginUDG(myUsername, myPassword)
# In case the connection is performed via a proxy:
proxyHost <- "proxy.host.com" # Your institution Proxy configuration: host
proxyPort <- as.integer(1234) # and port
loginUDG(myUsername, myPassword, proxy.host = proxyHost, proxy.port = proxyPort)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.