fund_department: Find funds with a particular department code

View source: R/widget-fund-department.R

fund_departmentR Documentation

Find funds with a particular department code

Description

This widget does not look for donors to specific types of funds, but rather creates a definition of type allocation_code of funds with a particular department.

Usage

fund_department(...)

Value

A discoveryengine list definition of type allocation_code

See Also

fund_area, gave_to_area, gave_to_fund

Examples

## are there any PACS funds related to Mahatma Gandhi?
pacs_gandhi_fund = fund_text_contains("gandhi") %and%
    fund_department(peace_and_conflict_studies)

## see the allocation codes:
display(pacs_gandhi_fund)

## find 1K+ donors:
gave_to_fund(pacs_gandhi_fund, at_least = 1000)


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