indexes_metadata: Get Indexes Codes and Associated HTML Names (Description)

Description Usage Arguments Value Examples

Description

This helper function extracts the names and HTML values (options values) of all available indexes in Casablanca Stock Exchange.

Usage

1
indexes_metadata(request = NULL, with_description = TRUE)

Arguments

request

The object returned by an HTTP GET request. NULL by default.

with_description

Boolean vector of length one indicating if the description (HTML names) should be returned or not. TRUE by default.

Value

A character vector containing all available indexes codes. If with_description is true, a data frame with INDEX_CODE and DESCRIPTION columns is returned.

Examples

1
2
3
## Not run: indexes_metadata()
## Not run: indexes_metadata(with_description = FALSE)
## Not run: indexes_metadata(get_request, FALSE)

blnash508/CSE documentation built on May 3, 2019, 11:52 p.m.