Learn R Programming

imfr (version 0.1.9.1)

imf_codes: Retrieve individual database codes

Description

Retrieve individual database codes

Usage

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

Run this code
# NOT RUN {
# Retrieve indicators from BOP database
test = imf_codes(codelist = 'CL_INDICATOR_BOP')

# }

Run the code above in your browser using DataLab