Skip to contents

Return citation for a given version

Usage

pip_citation(release_version = NULL, ppp_version = NULL, version = NULL)

Arguments

release_version

(character(1)) version of the data release in YYYYMMDD format. Default NULL.

ppp_version

(character(1) | numeric(1)) version of the data. Default NULL.

version

(character(1)) version of the data. Default NULL.

Value

A data.frame() with the citation.

See also

Other poverty and inequality statistics: pip_aux(), pip_data(), pip_group(), pip_health_check(), pip_info(), pip_valid_params(), pip_versions()

Examples

# \donttest{
pip_citation()
#> Error in req_perform(req_url_query(req_error(req_url_path_append(req_user_agent(request("https://api.worldbank.org/pip/v1"),     "worldbank (https://m-muecke.github.io/worldbank)"), resource),     body = pip_error_body), format = format, ...)): HTTP 502 Bad Gateway.
# }