# NOT RUN {
# Load libraries
library(tidyquant)
# Get the list of stock index options
tq_index_options()
# Get all stock symbols in a stock index
tq_index("DOWJONES")
# Get the list of stock exchange options
tq_exchange_options()
# Get all stocks in a stock exchange
tq_exchange("NYSE")
# }
Run the code above in your browser using DataLab