Created
February 28, 2019 14:34
-
-
Save Rekyt/5589775904c223690710ad218ed3a47e to your computer and use it in GitHub Desktop.
Query HAL from R
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remotes::install_github("ropensci/solrium") | |
library(solrium) | |
(cli <- SolrClient$new(host = "api.archives-ouvertes.fr", path = "search", | |
port = NULL)) | |
# Get all fields back | |
cli$search(params = list(q = "tomate", wt = "xml", fl="*")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://api.archives-ouvertes.fr/docs/search/ and https://wiki.ccsd.cnrs.fr/wikis/hal/index.php/Requ%C3%AAtes_sur_les_ressources_de_HAL for examples on how to use HAL API