R: ITIS Solr search

itis_search {ritis} | R Documentation

## ITIS Solr search

### Description

ITIS Solr search

### Usage

    itis_search(..., proxy = NULL, callopts = list())

### Arguments

`...` | Arguments passed on to the `params` parameter of the `solrium::solr_search()` function
`proxy` | List of arguments for a proxy connection, including one or more of: url, port, username, password, and auth. See `crul::proxy()` for help, which is used to construct the proxy connection.
`callopts` | Curl options passed on to crul::HttpClient

### Examples

    ## Not run:
    itis_search(q = "tsn:182662")

    itis_search(q = "nameWOInd:Liquidamber\\%20styraciflua~0.4")
    # matches only monomials
    itis_search(q = "nameWOInd:/[A-Za-z0-9]*[%20]{0,0}*/")
    # matches only binomials
    itis_search(q = "nameWOInd:/[A-Za-z0-9]*[%20]{1,1}[A-Za-z0-9]*/")
    # matches only trinomials
    itis_search(q = "nameWOInd:/[A-Za-z0-9]*[%20]{1,1}[A-Za-z0-9]*[%20]{1,1}[A-Za-z0-9]*/")
    # matches binomials or trinomials
    itis_search(q = "nameWOInd:/[A-Za-z0-9]*[%20]{1,1}[A-Za-z0-9]*[%20]{0,1}[A-Za-z0-9]*/")

    itis_search(q = "nameWOInd:Poa\\%20annua")

    itis_search(q = "nameWOInd:/[A-Za-z0-9]*[%20]{0,0}*/", rows = 2)
    itis_search(q = "nameWOInd:/[A-Za-z0-9]*[%20]{0,0}*/", rows = 200)

    itis_search(q = "nameWOInd:/[A-Za-z0-9]*[%20]{0,0}*/",
       fl = c('nameWInd', 'tsn'))

    ## End(Not run)

[Package ritis version 0.7.0 Index]