| stac_items | R Documentation |
Retrieves items from a specific collection in a STAC API endpoint and
returns them as a tidy tibble. Wraps rstac::items() with tidy output.
stac_items(url, collection, limit = 100L)
url |
Character. Root URL of a STAC API endpoint
(e.g., |
collection |
Character. The collection ID to list items from. |
limit |
Integer. Maximum number of items to return. Defaults to 100. |
A tibble::tibble with one row per item and columns:
Item identifier.
Collection the item belongs to.
Acquisition datetime as a character string.
Bounding box as a numeric list column.
GeoJSON geometry as a list column.
Character vector of available asset names.
stac_items(
url = "https://earth-search.aws.element84.com/v1",
collection = "sentinel-2-l2a",
limit = 5
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.