Description Usage Arguments Examples
Literature search
1 2 3 4 5 6 7 | literature_search(query, offset = 0, count = 20, minDate = NULL,
maxDate = NULL, facetCount = 0, snippetCount = 0, minMatch = 60,
searchFullText = FALSE, requireFullText = FALSE, authorFilter = NULL,
yearFilter = NULL, journalFilter = NULL, sort = NULL, section = NULL,
expandSynonyms = TRUE, expandAcronyms = FALSE, expandAbbrevs = FALSE,
expandInferred = TRUE, highlight = FALSE, abstract = TRUE, key = NULL,
...)
|
query |
Query terms |
offset |
(integer) The result (row) to start on |
count |
(integer) The number of results (rows) to return. Default: 20 |
minDate |
The minimum date (a unix time value - milliseconds since 1970) |
maxDate |
The maximum date (a unix time value - milliseconds since 1970) |
facetCount |
The facet count. Default: 0 |
snippetCount |
The snippet count. Default: 0 |
minMatch |
The Solr minmatch percentage. Default: 60 percent |
searchFullText |
Should full text be included in the search?
Default: |
requireFullText |
Should only full text be included in the search?
Default: |
authorFilter |
Author filters |
yearFilter |
Year filters |
journalFilter |
Journal filters |
sort |
Use "date" to sort by date. Otherwise relevancy will be used. |
section |
Sections to search |
expandSynonyms |
(logical) Should recognized terms in the query have
synonyms expanded? Default: |
expandAcronyms |
(logical) Default: |
expandAbbrevs |
(logical) Default: |
expandInferred |
(logical) Should recognized terms in the query have
inferred terms expanded? Default: |
highlight |
(no documentation provided). Default: |
abstract |
(no documentation provided). Default: |
key |
(character) API key. required either passed in here or save
as an env var or R option. see |
... |
Curl options passed on to |
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
out <- literature_search(query = "cellular")
out$result$publications
out$result$facets
out$query
literature_search(query = "ecology")
literature_search(query = "ecology", searchFullText = FALSE)
literature_search(query = "ecology", searchFullText = TRUE)
literature_search(query = "ecology", requireFullText = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.