Skip to content

Instantly share code, notes, and snippets.

@Rekyt
Created February 28, 2019 14:34
Show Gist options
  • Save Rekyt/5589775904c223690710ad218ed3a47e to your computer and use it in GitHub Desktop.
Save Rekyt/5589775904c223690710ad218ed3a47e to your computer and use it in GitHub Desktop.
Query HAL from R
# 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="*"))
@Rekyt
Copy link
Author

Rekyt commented Feb 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment