Description Usage Arguments Value See Also Examples
See the SOLR documentation here http://lucene.apache.org/solr/ for other parameters you can use.
The following two methods are possible, as far as I know you can only use one at a time:
vernacularName The species specific common names that is searchable in a case insensitive way.
scientificName The species scientific name that is associated with a common name that is searchable in a case insensitive way.
1 2 3 4 5 6 7 8 |
query |
Name to search for. Required. |
method |
The field to query by. See description below for details. |
exact |
Exact matching or not. See examples. Defaults to FALSE. |
parsed |
If |
callopts |
Further args passed on to |
... |
Further solr arguments passed in to the query. See examples below. |
A list.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## Not run:
# All taxa
bison_tax("*:*")
# Some example calls
bison_tax(query="*bear")
bison_tax(query="Helianthus", method="scientificName")
# Exact argument, here nothing found with latter call as '*bear'
# doesn't exist, which makes sense
bison_tax(query="*bear", exact=FALSE)
bison_tax(query="*bear", exact=TRUE)
# Using solr arguments (not all Solr arguments work)
## Return a certain number of rows
bison_tax(query="*bear", method="vernacularName", rows=3)
## Return certain fields
bison_tax(query="*bear", method="vernacularName", fl='vernacularName')
# Curl options
bison_tax(query='*dolphin', callopts=list(verbose = TRUE))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.