list_supported_indexes {tidyfinance} | R Documentation |
List Supported Indexes
Description
This function returns a tibble containing information about supported financial indexes.
Each index is associated with a URL that points to a CSV file containing the holdings of the index.
Additionally, each index has a corresponding skip
value, which indicates the number of lines
to skip when reading the CSV file.
Usage
list_supported_indexes()
Value
A tibble with three columns:
- index
The name of the financial index (e.g., "DAX", "S&P 500").
- url
The URL to the CSV file containing the holdings data for the index.
- skip
The number of lines to skip when reading the CSV file.
Examples
supported_indexes <- list_supported_indexes()
print(supported_indexes)
[Package tidyfinance version 0.4.3 Index]