worldbank / pipr

R client to the PIP API
https://worldbank.github.io/pipr
Other
13 stars 4 forks source link

Variable poverty lines across countries #72

Open morkor opened 10 months ago

morkor commented 10 months ago

Proposal

When using alternative poverty line concepts rather than the international poverty line approach, one would like to have a different line applied for each country in the same year. In such case the length of the vectors of country ISO3 codes and of the various NPL is the same. So so one would be able to request the following: get_stats(c("ARG","ITA", "KEN"), povline = c(3,6,2.5)) instead of doing 3 requests separately for each country. Thanks!