povcalnet_wb: povcalnet_wb Returns the official WB regional estimates

Description Usage Arguments Value Examples

View source: R/povcalnet_wb.R

Description

povcalnet_wb Returns the official WB regional estimates

Usage

1
2
3
4
5
6
povcalnet_wb(
  povline = 1.9,
  year = "all",
  url = "http://iresearch.worldbank.org",
  format = "csv"
)

Arguments

povline

numeric: poverty line (in 2011 PPP-adjusted USD) to calculate poverty measures

year

numeric: list of years, or 'all'.

url

character: API root URL. For testing purposes only, should not be changed for 99 percent of users.

format

character: Response format to be requested from the API: 'csv' or 'json'

Value

data.frame

Examples

1
povcalnet_wb(year = 2015)

povcalnetR documentation built on July 8, 2020, 6:48 p.m.