| hal_group | R Documentation |
Group Results
hal_group(x, ...) ## S3 method for class 'HALQuery' hal_group(x, field, limit = 1, sort = "score", decreasing = FALSE, ...)
x |
An object of class |
... |
Currently not used. |
field |
A |
limit |
An |
sort |
A |
decreasing |
A |
An object of class HALQuery.
N. Frerebeau
Other query tools:
hal_facet(),
hal_filter(),
hal_query(),
hal_select(),
hal_sort()
## Not run:
library(magrittr)
## Most recent publication by journal
hal_api() %>%
hal_query("archéologie") %>%
hal_select("producedDate_tdate") %>%
hal_filter("ART" %IN% "docType_s") %>%
hal_sort("producedDate_tdate", decreasing = TRUE) %>%
hal_group(field = "journalTitle_s", limit = 1,
sort = "producedDate_tdate", decreasing = TRUE) %>%
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.