percent_to_goal: percent_to_goal

Description Usage Arguments Examples

View source: R/percent_to_goal.R

Description

The function outputs the percentage of a unit's goal they have reached in a given timeframe.

Usage

1
percent_to_goal(goal, unit, from, to)

Arguments

goal

The unit's monetary goal

unit

Unit code

from

Start date, in yyyymmdd format

to

End date, in yyyymmdd format

Examples

1
percent_to_goal(goal = 100000000, unit = 'EN', from = 20140101, to = 20180630)

cwolfsonseeley/campaignreports documentation built on May 18, 2019, 3:42 p.m.