queryables: Endpoint functions

View source: R/queryables-query.R

queryablesR Documentation

Endpoint functions

Description

The queryables endpoint allows the user to discover which properties can be used in the filter extension. This endpoint can be accessed from the catalog (⁠/queryables⁠) or from a collection (⁠/collections/{collection_id}/queryables⁠).

Usage

queryables(q)

Arguments

q

a RSTACQuery object expressing a STAC query criteria.

Value

A RSTACQuery object with the subclass queryables for ⁠/queryables⁠ endpoint.

See Also

ext_filter(), conformance(), collections()

Examples

## Not run: 
# Catalog's queryables
rstac::stac("https://planetarycomputer.microsoft.com/api/stac/v1") %>%
  rstac::queryables() %>% rstac::get_request()

# Collection's queryables
rstac::stac("https://planetarycomputer.microsoft.com/api/stac/v1") %>%
  rstac::collections(collection_id = "sentinel-2-l2a") %>%
  rstac::queryables() %>%
  rstac::get_request()

## End(Not run)


rstac documentation built on Oct. 18, 2023, 1:15 a.m.