lsUpdateEEDataSets: Update EarthExplorer dataset names

Description Usage Arguments Value Examples

View source: R/lsUpdateEEDataSets.R

Description

The ‘EE.DataSets’ option of 'RGISTools' contains all the dataset names supported by EarthExplorer API. If these names changes, lsUpdateEEDataSets updates these data.

Usage

1
lsUpdateEEDataSets(username, password, logout = TRUE, verbose = FALSE)

Arguments

username

USGS's ‘EarthExplorer’ username.

password

USGS's ‘EarthExplorer’ password.

logout

logical argument. If TRUE, logges out from EarthExplorer API

verbose

logical argument. If TRUE, the function prints the running steps and warnings.

Value

the dataset names in EarthExplorer API

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
setRGISToolsOpt("EE.DataSets",NULL)
getRGISToolsOpt("EE.DataSets")
datasetNames<-lsUpdateEEDataSets(username = "username",
                                 password = "password")

getRGISToolsOpt("EE.DataSets")

## End(Not run)

RGISTools documentation built on July 2, 2020, 3:58 a.m.