Facet Search
hal_facet(x, ...)
# S3 method for HALQuery
hal_facet(
x,
field,
limit = 5,
sort = c("index", "count"),
prefix = NULL,
contains = NULL,
pivot = NULL,
range = NULL,
ignore_case = FALSE,
...
)
An object of class HALQuery
(typically returned by hal_api()
).
Currently not used.
A character
string specifying the field to group by.
An integer
giving the maximum number of results per group.
A character
string specifying the field to be used to sort
the results.
A character
string.
A character
string.
A character
string.
A list
containing the following components: "range
",
"start
", "end
", "gap
".
A logical
scalar: should character case be ignored?
An object of class HALQuery
.
Other query tools:
hal_filter()
,
hal_group()
,
hal_query()
,
hal_select()
,
hal_sort()