etf_sector: ETF's Sectors Breakdown

etf_sectorR Documentation

ETF's Sectors Breakdown

Description

etf_sector() scraps etf.com data for sector breakdown on ETFs. Use splot_etf() for visualization.

Usage

etf_sector(etf = "VTI", quiet = FALSE, cache = TRUE)

Arguments

etf

Character Vector. Which ETFs you wish to scrap?

quiet

Boolean. Keep quiet? If not, message will be shown.

cache

Boolean. Use daily cache if available?

Value

data.frame with ETF break.down data by sector

See Also

Other Investment: splot_summary(), stocks_file(), stocks_quote()

Examples


etf_sector(etf = "VTI")


lares documentation built on Sept. 13, 2024, 1:08 a.m.