View source: R/widget-fund-text-contains.R
fund_text_contains | R Documentation |
This widget is comparable to the Fundfinder report in CADSMart. It will
search the fund terms, fund biography, and name of every fund. Enter one
or more search strings. If you enter multiple search strings, the search will
be for funds that contain any one of the searches. Wildcards (*)
are allowed at the beginning or end of each search term (but not in the
middle). This widget creates a definition of type allocation_code
.
To find the donors to a list of funds, use
gave_to_fund
. For advanced searches, use the ora
function to use an arbitrary Oracle-style regex as the search term.
fund_text_contains(...)
A discoveryengine list definition of type allocation_code
gave_to_fund
## find funds supporting diversity
diversity_funds = fund_text_contains("divers*", "underrepresented")
## donors to those funds
gave_to_fund(diversity_funds)
## just donors over $10K to those funds
gave_to_fund(diversity_funds, at_least = 10000)
## just donors over $10K during calendar year 2015
gave_to_fund(diversity_funds, at_least = 10000, from = 20150101, to = 20151231)
## donors who had given at least $100K to diversity funds before 2012
gave_to_fund(diversity_funds, at_least = 100000, to = 20111231)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.