imf_codes: Retrieve individual database codes

Description Usage Arguments Value Examples

View source: R/data_functions.R

Description

Retrieve individual database codes

Usage

1
imf_codes(codelist, return_raw = FALSE, times = 3)

Arguments

codelist

character string of a codelist from imf_codelist.

return_raw

logical. Whether to return the raw codes list list or a data frame with variable codes and descriptions.

times

numeric. Maximum number of requests to attempt.

Value

If return_raw = FALSE then a data frame with the codes and descriptions is returned. If return_raw = TRUE then the raw code list is returned.

Examples

1
2
# Retrieve indicators from BOP database
test = imf_codes(codelist = 'CL_INDICATOR_BOP')

imfr documentation built on Oct. 23, 2020, 7:12 p.m.