Description Usage Arguments Value
View source: R/IShares-class.R
parses the raw JSON data (usually returned as nested lists) into a clean dataframe
of character data. We decided to return character data to avoid data type issues
during the parsing. When the JSON data is downloaded using as = "parsed"
,
the parsing is done using the functions in the https://tidyr.tidyverse.org/index.html package
1 | parse_summary_data(res_parsed, tickers_to_keep)
|
res_parsed |
a list returned by the httr::content function. The list has the following attributes:
The most important attribute is data which contains the actual IShares data. In particular, it's a list with the following attributes:
|
tickers_to_keep |
character vector containing the tickers to keep. One might want to keep just a subset of tickers due to storage constraints |
a dataframe of characters. Each row containd summary data for one etf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.