has_philanthropic_interest: Philanthropic interest widget

View source: R/widget-has-philanthropic-interest.R

has_philanthropic_interestR Documentation

Philanthropic interest widget

Description

Find entities with a given philanthropic interests.

Usage

has_philanthropic_interest(..., unit = NULL, active = TRUE, comment = NULL)

Arguments

...

UCB Interest Codes or synonyms

unit

Look only for philanthropic interests associated with a given unit. Leave blank (the default) to search only on phil. interest codes

active

If TRUE (default), will include only philanthropic interests without a stop date. If FALSE, will include only philanthropic interests WITH a stop date – the stop date is used here as a disqualifier, to signify negative interest/inclination.

comment

(Optional) Supply one or more search terms to search through the comment fields of the philanthropic interests area

Value

A definition of type entity_id

Examples

## find people with an interest in funding scholarships
has_philanthropic_interest(scholarships)

## can also be used to exclude disqualified prospects
donor = gave_to_area(at_least = 100000)
disqualified = has_philanthropic_interest(UC, active = FALSE)
donor %but_not% disqualified


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