We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to select items from collection using index in pipe? Currently I do it this way:
library("rstac") items <- stac("https://brazildatacube.dpi.inpe.br/stac/") |> stac_search(collections = "CB4-16D-2", limit = 30) |> post_request() n = c(1, 4, 10, 20) items$features = items$features[n]
The text was updated successfully, but these errors were encountered:
I've implemented items_select(items, selection) to be released today in version 1.0.0:
items_select(items, selection)
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))
Sorry, something went wrong.
deb978b
Thanks! One more small issue. I noticed that items_select() and items_compact() are not listed here:
items_select()
items_compact()
https://github.com/brazil-data-cube/rstac/blob/b-1.0.1/R/items-funs.R#L7-L52
rolfsimoes
No branches or pull requests
Is there a way to select items from collection using index in pipe? Currently I do it this way:
The text was updated successfully, but these errors were encountered: