R: ITIS Solr facet

itis_facet {ritis} | R Documentation

## ITIS Solr facet

### Description

ITIS Solr facet

### Usage

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

### Arguments

`...` | Arguments passed on to the `params` parameter of the `solrium::solr_facet()` 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_facet(q = "rank:Species", rows = 0, facet.field = "kingdom")$facet_fields

    x <- itis_facet(q = "hierarchySoFar:*$Aves$* AND rank:Species AND usage:valid",
       facet.pivot = "nameWInd,vernacular", facet.limit = -1, facet.mincount = 1,
       rows = 0)
    head(x$facet_pivot$`nameWInd,vernacular`)

    ## End(Not run)

[Package ritis version 0.7.0 Index]