Skip to contents

Calculates the share of total funding received by each recipient organization.

Usage

indicator_recipient_funding_share(flows, recipients = NULL)

Arguments

flows

A dataframe containing destinationObjects and amountUSD.

recipients

Optional dataframe of recipient organizations to merge with the results.

Value

A list with a tibble with columns recipient and Funding_Volume_Share and a plot.

Examples

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