get_request | R Documentation |
The get_request
is function that makes HTTP GET
requests to STAC web services, retrieves, and parse the data.
The post_request
is function that makes HTTP POST
requests to STAC web services, retrieves, and parse the data.
get_request(q, ...)
post_request(q, ..., encode = c("json", "multipart", "form"))
q |
a |
... |
config parameters to be passed to GET or POST methods, such as add_headers or set_cookies. |
encode |
a |
Either a doc_catalog
, doc_collection
,
doc_collections
, doc_items
or doc_item
object depending on the subclass and search fields parameters of q
argument.
stac()
stac_search()
collections()
items()
## Not run:
stac("https://brazildatacube.dpi.inpe.br/stac/") %>%
get_request()
stac("https://brazildatacube.dpi.inpe.br/stac/") %>%
stac_search(collections = "CB4-16D-2") %>%
post_request()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.