Description Usage Arguments Details Value Author(s) References See Also Examples
R wrapper for USGS/EROS Inventory Service Dataset Fields API.
1 | espa_inventory_datasetfields(datasetName, node = "EE", apiKey, verbose = F)
|
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. |
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.
List of metadata filter fields for the specified dataset.
Jonathan A. Greenberg (espa-tools@estarcion.net) (wrapper) and USGS ESPA Developers (API and documentation)
https://earthexplorer.usgs.gov/inventory/documentation/json-api#datasetfields
espa_inventory_login,espa_inventory_get_api
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.