Skip to contents

Calculates the percentage of flows where a recipient shares funding with other recipient organizations (not the sole recipient).

Usage

indicator_recipient_cofunding_rate(flows, recipients = NULL)

Arguments

flows

A dataframe containing destinationObjects and amountUSD.

recipients

Optional dataframe of recipient organizations to merge.

Value

A list with a tibble with recipient and Co_Funding_Rate and a plot.

Examples

result <- indicator_recipient_cofunding_rate(flows)
print(result$plot)
#> `stat_bin()` using `bins = 30`. Pick better value `binwidth`.