Scrape index data from the iShares website
Source:R/get_ishares_index_data.R
get_ishares_index_data.Rd
This function will scrape and process holdings data from the iShares website.
Examples
if (FALSE) { # \dontrun{
url <-
paste0(
"https://www.ishares.com/uk/individual/en/products/",
"251813/ishares-global-corporate-bond-ucits-etf/"
)
name <- "iShares Global Corporate Bond UCITS ETF <USD (Distributing)>"
as_of_date <- "20211231"
get_ishares_index_data(url, name, as_of_date)
} # }