| hal_select | R Documentation |
Select Fields
hal_select(x, ...) ## S3 method for class 'HALQuery' hal_select(x, ...)
x |
An object of class |
... |
One or more |
An object of class HALQuery.
N. Frerebeau
Other query tools:
hal_facet(),
hal_filter(),
hal_group(),
hal_query(),
hal_sort()
library(magrittr)
## Select fields
hal1 <- hal_api() %>% hal_select("label_s")
hal1$fl
hal2 <- hal_api() %>% hal_select("halId_s", "uri_s")
hal2$fl
## Update query
hal3 <- hal_select(hal1, "docType_s")
hal3$fl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.