View source: R/collections-query.R
| collections | R Documentation |
The collections function implements the WFS3 /collections
and /collections/{collectionId} endpoints.
Each endpoint retrieves specific STAC objects:
/collections: Returns a list of STAC Collections published in
the STAC service
/collections/{collectionId}: Returns a single STAC
Collection object
collections(q, collection_id = NULL, limit = NULL)
q |
a |
collection_id |
a |
limit |
an |
A rstac_query object with the subclass collections for
/collections/ endpoint, or a collection_id subclass for
/collections/{collection_id} endpoint, containing all search field
parameters to be provided to STAC API web service.
get_request(), post_request(), items()
## Not run:
stac("https://brazildatacube.dpi.inpe.br/stac/") %>%
collections() %>%
get_request()
stac("https://brazildatacube.dpi.inpe.br/stac/") %>%
collections(collection_id = "CB4-16D-2") %>%
get_request()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.