Learn R Programming

getSpatialData (version 0.0.4)

gSD_login: Session-wide login

Description

Login to services supported by getSpatialData once for the running session.

Usage

login_CopHub(username, password = NULL)

login_USGS(username, password = NULL)

Arguments

username

character, username to the corresponding service. For details on registration, see details.

password

character, password to the corresponding service.

Value

None.

Details

login_CopHub defines login credentials for the Copernicus Open Access Hub (register on https://scihub.copernicus.eu/)

login_USGS defines login credentials to the USGS EROS Registration System (ERS). Register on https://ers.cr.usgs.gov/register/.

See Also

getSentinel_query getLandsat_query

Examples

Run this code
# NOT RUN {
library(getSpatialData)

# }
# NOT RUN {
## Define user credentials for the Copernicus Open Access Hub
login_CopHub(username = "my_user_name", password = "my_password")

## Define USGS user credentials
login_USGS(username = "my_user_name", password = "my_password")
# }

Run the code above in your browser using DataLab