Open kadyb opened 9 months ago
I've implemented items_select(items, selection)
to be released today in version 1.0.0:
library("rstac")
items <- stac("https://brazildatacube.dpi.inpe.br/stac/") |>
stac_search(collections = "CB4-16D-2", limit = 30) |>
post_request() |>
items_select(c(1, 4, 10, 20))
Thanks! One more small issue. I noticed that items_select()
and items_compact()
are not listed here:
https://github.com/brazil-data-cube/rstac/blob/b-1.0.1/R/items-funs.R#L7-L52
Is there a way to select items from collection using index in pipe? Currently I do it this way: