| stac_search | R Documentation |
Searches a STAC API endpoint for items matching the given filters and
returns results as a tidy tibble. Wraps rstac::stac_search() with
tidy output.
stac_search(
url,
collections = NULL,
bbox = NULL,
datetime = NULL,
limit = 100L
)
url |
Character. Root URL of a STAC API endpoint
(e.g., |
collections |
Character vector. Collection IDs to search within. |
bbox |
Numeric vector of length 4: |
datetime |
Character. Date/time filter as a single datetime or
range (e.g., |
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_search(
url = "https://earth-search.aws.element84.com/v1",
collections = "sentinel-2-l2a",
bbox = c(-84.5, 38.0, -84.3, 38.2),
limit = 5
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.