itis_facet: ITIS Solr facet

Description Usage Arguments Examples

View source: R/itis_facet.R

Description

ITIS Solr facet

Usage

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

Arguments

...

Arguments passed on to the params parameter of the solrium::solr_facet() function. See solr_fields for possible parameters, and examples below

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

1
2
3
4
5
6
7
8
9
## 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)

ritis documentation built on Feb. 2, 2021, 9:06 a.m.