Counts the number of distinct fiscal years in which a donor gave. Useful for loyalty metrics and donor recognition programs.
Arguments
- gift_dates
Date vector of gift dates (or coercible via
as.Date()).- fy_start_month
Integer 1-12 indicating fiscal year start month. Default 7 (July).
See also
Other donor-analytics:
calc_age(),
consecutive_giving_years(),
donor_status(),
years_since()
