score_ppi: Given country-specific survey data with information on the...

Description Usage Arguments Value Examples

View source: R/03-score_ppi.R

Description

Given country-specific survey data with information on the ten questions on which PPI scores are based on, recode the data accordingly and calculate the corresponding PPI score

Usage

1
score_ppi(ccode)

Arguments

ccode

Three letter ISO code for a country

Value

A PPI score ranging between 0 to 100

Examples

1
2
# use score_ppi for Bangladesh
## Not run: score_ppi(ccode = "BGD")

ernestguevarra/ppicalc documentation built on Jan. 14, 2020, 2:49 a.m.