IShares_US: IShares_US class constructor

Description Usage Arguments Value

View source: R/IShares_US-class.R

Description

the IShares_US class is a subclass of the IShares class and represents the ETF data from the US IShares website. It overrides some methods of the IShares class for taking into consideration American formatting specificity

Usage

1
2
3
4
IShares_US(summary_link = character(), get_constituents = TRUE,
  download_constituents_csv = FALSE, melted_constituents_list = list(),
  constituents_list = list(), tickers_to_keep = character(), ...,
  class = character())

Arguments

summary_link

link where the IShares summary data (in JSON format) is downloaded from. This is the data summarizing all the ETF of the IShares provider

get_constituents

TRUE for downloading ETF constituents, FALSE otherwise

download_constituents_csv

TRUE for saving the csv constituents files from the ETF web site, FALSE otherwise

melted_constituents_list

constituents data in melted format

constituents_list

constituents data in parsed format

tickers_to_keep

character vector containing the tickers to keep. One might want to keep just a subset of tickers due to storage constraints

...

subclass additional attributes

class

subclass names

Value

a new IShares_US object


skiamu/ETF documentation built on April 28, 2020, 6:08 a.m.