1st file given in the URL named "EQUITY_L.csv" source given in the footnote below
I am trying to access the URL "https://in.finance.yahoo.com/quote/3MINDIA.NS/history?p=3MINDIA.NS" using the symbol variable given in the file in the footnote below from the NSE website. I am able to fetch data from the multiple files by the code but only first 100 rows are fetched in the data table or each URL of total 250. I am unable to resolve the problem. I also had a look at the tables available in each URL and there is only a single table. How to fetch the entire 250 rows in each URL? I had a look at the quantmod function but it has US specific indices. Could you help with this..
read.csv(file="C:/Users/Documents/EQUITY_L.csv", header=TRUE, sep=",")
MyData$SYMBOL
Symbol<-MyData$SYMBOL
tbls_ls<-list()
for(i in 1:12) {
webpage<-paste0("https://in.finance.yahoo.com/quote/",Symbol[i],".NS","/history?p=",Symbol[i],".NS")
Webpage<-read_html(webpage)
tbls_ls[i] <- Webpage %>%
html_nodes("table") %>%
.[1] %>%
html_table(fill = TRUE)}