get_indexes_helper: Get Indexes Values and Associated HTML Names

Description Usage Arguments Value Examples

Description

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

Usage

1
get_indexes_helper(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. If with_description is true, a data frame with INDEX and DESCRIPTION columns is returned.

Examples

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

blnash508/cfm documentation built on May 30, 2019, 4:31 p.m.