has_affiliation: Affiliation widget

View source: R/widget-has-affiliation.R

has_affiliationR Documentation

Affiliation widget

Description

Find entities with a given affiliation(s). If no affiliation codes are entered, widget will find entities who have any affiliation code.

Usage

has_affiliation(..., include_former = TRUE, comment = NULL)

Arguments

...

affiliation code(s)

include_former

TRUE/FALSE should include former affiliations? Defaults to TRUE

comment

(Optional) Supply one or more search terms to search through the comment field

Value

A definition of type entity_id

Examples

## let's find some SF elites
has_affiliation(san_francisco_grid_club, bohemian_club)

## look for just current homecoming volunteers
has_affiliation(caa_homecoming_volunteer, include_former = FALSE)


tarakc02/discoveryengine documentation built on Sept. 26, 2023, 12:17 a.m.