psplityear: A Function for Splitting AidData Projects Across Project...

Description Usage Arguments Examples

View source: R/project-split-functions.R

Description

Get amount for equal splits of projects across locations, split across years of project duration

Usage

1
psplityear(proj, loc, amt_var, ID, start_var, end_var)

Arguments

proj

Data frame containing projects and financial amounts

loc

Data frame containing locations

amt_var

Name of variable in proj containing financial amounts

ID

Name of identifying variable in both data frames

start_var

Name of variable in proj indicating start year of project

end_var

Name of variable in proj indicating end year of project

Examples

1

mdilorenzo/aidtools documentation built on May 22, 2019, 3:37 p.m.