etf_sector {lares} | R Documentation |
ETF's Sectors Breakdown
Description
This function 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:
daily_portfolio()
,
daily_stocks()
,
splot_change()
,
splot_divs()
,
splot_etf()
,
splot_growth()
,
splot_roi()
,
splot_summary()
,
splot_types()
,
stocks_file()
,
stocks_obj()
,
stocks_quote()
,
stocks_report()
Examples
etf_sector(etf = "VTI")
[Package lares version 5.2.7 Index]