Learn R Programming

eodhdR2 (version 0.5.2)

get_exchanges: Retrieves the list of available exchanges

Description

Retrieves the list of available exchanges

Usage

get_exchanges(cache_folder = get_default_cache())

Value

a dataframe with information about available exchanges

Arguments

cache_folder

A local directory to store cache files. By default, all functions use a temporary path, meaning that the caching system is session persistent (it will remove all files when you exit your R session). If you want a persistent caching system, simply point argument cache_folder to a local directory in your filesystem. Be aware, however, that a persistent cache will not refresh your data for new api queries.

Examples

Run this code

# you need a valid token (not test) for this to work
if (FALSE) {
set_token("YOUR_VALID_TOKEN")
df_exc <- get_exchanges()
}

Run the code above in your browser using DataLab