Skip to content

Commit

Permalink
R/toolGetUnitDollar.R
Browse files Browse the repository at this point in the history
  • Loading branch information
fbenke-pik committed Jul 25, 2024
1 parent bb9451d commit 95eb981
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions R/toolGetUnitDollar.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
toolGetUnitDollar <- function(returnOnlyBase = FALSE, inPPPP = TRUE) {
base <- 2017
if (returnOnlyBase) {
return(base)
}
pppOrMer <- if (inPPPP) " Int$PPP" else " US$MER"
paste0("constant ", base, pppOrMer)
}

0 comments on commit 95eb981

Please sign in to comment.