search.indicators: Search available data indicators

Description Usage Arguments Value Author(s) Examples

View source: R/rWBData.R

Description

This function will search available data indicators (ID and name) using user provided text.

Usage

1
search.indicators(sText, simple = FALSE)

Arguments

sText

a character represents text to search

simple

TRUE/FALSE; TRUE for full description of data indicator, FALSE for simplified description of data indicator

Value

This function always returns a data frame the following three columns.

id

ID of the data indicator

name

name of the data indicator

If simple=FALSE, the returned data will include the following extra 23 columns

source

source of the data indicator

sourceNote

source note of the data indicator

sourceOrganization

source organization of the data indicator

topics

topics of the data indicator

If there is no result matches, it will returns a data frame with zero row.

Author(s)

Ming-Jer Lee <mingjerli@gmail.com>

Examples

1
2
search.indicators("GDP")[1:3,]
search.indicators("GDP", simple=TRUE)[1:3,]

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