search | R Documentation |
Search
hal_count(x, ...) hal_search(x, ...) ## S3 method for class 'HALQuery' hal_count(x, path = "search", ...) ## S3 method for class 'HALQuery' hal_search( x, path = "search", limit = 30, start = 0, cursor = FALSE, parse = "df", concat = ",", progress = getOption("odyssey.progress"), verbose = getOption("odyssey.verbose"), ... )
x |
An object of class |
... |
Currently not used. |
path |
A |
limit |
An |
start |
An |
cursor |
A |
parse |
A |
concat |
A |
progress |
A |
verbose |
A |
hal_count()
returns the total number of results.
hal_search()
returns a data.frame
or list
(according to type
).
N. Frerebeau
HAL reference frame documentation.
Other search tools:
hal_download()
## Not run: library(magrittr) ## Simple search topic <- list("archéologie", "Celtes", "France") # Combined with AND hal_api() %>% hal_query(topic) %>% hal_search(limit = 10) ## Get a list of archaeological journals topic <- c("archéologie", "archaeology", "archäologie") # Combined with OR hal_api() %>% hal_query(topic) %>% hal_select("title_s", "issn_s") %>% hal_filter("" %TO% "*" %IN% "issn_s") %>% hal_sort("title_s") %>% hal_search(path = "ref/journal") ## Get the most recent archaeological publication (in French) 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", sort = "producedDate_tdate", decreasing = TRUE ) %>% hal_search(limit = 10) ## Get a list of archaeological laboratories ## (only joint laboratories of the CNRS and a French university) topic <- list("archéologie" %IN% "text", "UMR" %IN% "code_t") hal_api() %>% hal_query(topic) %>% hal_select("name_s", "acronym_s", "code_s") %>% hal_filter("VALID" %IN% "valid_s") %>% hal_sort("acronym_s", decreasing = TRUE) %>% hal_search(path = "ref/structure", limit = 15) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.