Description Usage Arguments Details References Examples
View source: R/core_repos_search.R
Search CORE repositories
1 |
query |
(character) query string, required |
page |
(character) page number (default: 1), optional |
limit |
(character) records to return (default: 10, minimum: 10, maximum: 100), optional |
key |
A CORE API key. Get one at
https://core.ac.uk/api-keys/register. Once you have the key,
you can pass it into this parameter, or as a much better option,
store your key as an environment variable with the name
|
parse |
(logical) Whether to parse to list ( |
... |
Curl options passed to |
core_repos_search
does the HTTP request and parses, while
core_repos_search_
just does the HTTP request, gives back JSON as
a character string
A POST method is allowed on this route, but it's not supported yet.
https://core.ac.uk/docs/#!/repositories/search
1 2 3 4 5 6 7 8 9 10 | ## Not run:
core_repos_search(query = 'mathematics')
core_repos_search(query = 'physics', parse = FALSE)
core_repos_search(query = 'pubmed')
core_repos_search_(query = 'pubmed')
library("jsonlite")
jsonlite::fromJSON(core_repos_search_(query = 'pubmed'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.