espa_inventory_datasetfields: espa_inventory_datasetfields

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

R wrapper for USGS/EROS Inventory Service Dataset Fields API.

Usage

1
espa_inventory_datasetfields(datasetName, node = "EE", apiKey, verbose = F)

Arguments

datasetName

Character. Identifies the dataset. See https://mapbox.github.io/usgs/reference/catalog/hdds.html for a list of valid datasetNames.

node

Character. Determines the dataset catalog to use. Default="EE", probably never needs to be changed.

apiKey

Character. Users API Key/Authentication Token, obtained from espa_inventory_login request.

verbose

Logical. Verbose execution? Default=F.

Details

This request is used to return the metadata filter fields for the specified dataset. These values can be used as additional criteria when submitting search and hit queries.

Value

List of metadata filter fields for the specified dataset.

Author(s)

Jonathan A. Greenberg (espa-tools@estarcion.net) (wrapper) and USGS ESPA Developers (API and documentation)

References

https://earthexplorer.usgs.gov/inventory/documentation/json-api#datasetfields

See Also

espa_inventory_login,espa_inventory_get_api

Examples

1
2
3
4
5
6
## Not run:  
# Get API KEY (required EROS username/password): 
apiKey=espa_inventory_login("myusername","mypassword")
espa_inventory_datasetfields(datasetName="LANDSAT_8",apiKey=apiKey)

## End(Not run)

espa.tools documentation built on May 2, 2019, 5:54 p.m.