| hal_facet | R Documentation |
Facet Search
hal_facet(x, ...)
## S3 method for class 'HALQuery'
hal_facet(
x,
field,
limit = 5,
sort = c("index", "count"),
prefix = NULL,
contains = NULL,
pivot = NULL,
range = NULL,
ignore_case = FALSE,
...
)
x |
An object of class |
... |
Currently not used. |
field |
A |
limit |
An |
sort |
A |
prefix |
A |
contains |
A |
pivot |
A |
range |
A |
ignore_case |
A |
An object of class HALQuery.
N. Frerebeau
Other query tools:
hal_filter(),
hal_group(),
hal_query(),
hal_select(),
hal_sort()
## Not run:
library(magrittr)
## Most recent publication by journal
hal_api() %>%
hal_query("archéologie") %>%
hal_facet(
field = "docType_s",
limit = 100,
sort = "count",
range = list(
range = "producedDateY_i",
start = 2000,
end = 2020,
gap = 1
)
) %>%
hal_search(limit = 10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.