This function parses a character vector describing a partnership waterfall into a date frame. The function looks to recogonize whether the promote is based upon an internal rate of return or capital multiple hurdle.

tidy_promote_structure(
  promote_structures = c("20 over a 12", "30 / 18", "40 over a 10x"),
  return_wide = F
)

Arguments

promote_structures

character vector of promote structures

return_wide

return data in wide form

Value

a data frame

See also

Examples

tidy_promote_structure(promote_structures = c("20 over a 12", '30 / 18', "40 over a 10x"), return_wide = T)