Learn R Programming

imfr (version 0.1.9.1)

imf_metadata: Access meta data for specific country-series

Description

Access meta data for specific country-series

Usage

imf_metadata(
  database_id,
  indicator,
  country = "all",
  start = 2000,
  end = current_year(),
  return_raw = FALSE
)

Arguments

database_id

character string database ID. Can be found using imf_ids.

indicator

character string of the indicator's ID. These can be found using imf_codes.

country

character string or character vector of ISO two letter country codes identifying the countries for which you would like to download the indicator metadata for. See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2. If country = 'all' then all available countries will be downloaded.

start

year for which you would like to start gathering the data.

end

year for which you would like to end gathering the data.

return_raw

logical. Whether to return the raw metadata a data frame with just the requested data metadata.

Examples

Run this code
# NOT RUN {
imf_metadata(database_id = 'IFS', indicator = 'EREER_IX',
             start = 2001, end = 2001, country = 'CN')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab