imf_metadata: Access meta data for specific country-series

Description Usage Arguments Examples

View source: R/metadata_functions.R

Description

Access meta data for specific country-series

Usage

1
2
3
4
5
6
7
8
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

1
2
3
4
5
## Not run: 
imf_metadata(database_id = 'IFS', indicator = 'EREER_IX',
             start = 2001, end = 2001, country = 'CN')

## End(Not run)

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