I am using rvest to try to scrape the High Interest Savings rate of 1.40 from this site. First I tried to use Selector Gadget to obtain the appropriate CSS. This did not work because I believe the table is generated from JavaScript. Taking a hint from @QHarr here, if JavaScript is turned off the table does not generate.
If I try part of his example here:
# Rvest and Selector Gadget example
library("rvest")
from_html <- read_html("https://www.alternabank.ca/rates") %>%
html_node('body') %>%
html_text() %>%
toString()
from_html
does not contain the interest rate that I am looking for, 1.40.
What is the best way in R to scrape the interest rates from this page?