searchWEO: SEARCH FOR AVAILABLE WEO DATA

Description Usage Arguments Value Author(s) Examples

Description

This function will return the WEO result for given country or subject.

Usage

1
searchWEO(WEOCountryCode=NULL, ISOCode=NULL, Country=NULL, WEOSubCode=NULL)

Arguments

WEOCountryCode

Numerical values to represent WEO country codes, see availableWEOCountryCode()

ISOCode

Characters to represent country ISO codes, see availableISOCode()

Country

Characters to represent country names, see availableCountry()

WEOSubCode

Characters to represent WEO subject codes, see availableSubCode()

Value

This function will return a data frame if the data catalog is available, otherwise it will show how to access the data catalog and return NA.

Author(s)

Ming-Jer Lee <mingjerli@gmail.com>

Examples

1
2
3
4
5
6
7
8
WEO512result <- searchWEO(WEOCountryCode=512)
print(WEO512result)
USAresult <- searchWEO(ISOCode="USA")
print(USAresult)
USAPCPIresult <- searchWEO(ISOCode="USA", WEOSubCode="PCPI")
print(USAPCPIresult)
USA512PCPIresult <- searchWEO(ISOCode="USA", WEOCountryCode=512, WEOSubCode="PCPI")
print(USA512PCPIresult)

mingjerli/rWEO documentation built on May 22, 2019, 11:54 p.m.