I am trying to use R to download a table of data found on the web site https://sites.google.com/a/slu.edu/swartwout/home/cubesat-database. I have not found an approach which would do this. I can access the data only if I copy and paste it into Excel. This is the attempt which does not work:
url <- read_html("https://sites.google.com/a/slu.edu/swartwout/home/cubesat-database")
table <- url %>%
+ html_nodes(xpath='/html/body/script[2]/text()') %>%
+ html_table(header = TRUE, fill=TRUE)
I have tried a number of html_nodes and none of them will work. I may be doing this incorrectly, or I may need a different approach. The data seems to be generated by javascript. The data shown in the table is not at all visible in the html code, even though it is visible when viewing the web site. Hadley Wickham's Selectorgadget works very well when applied to the imdb page for The Lego Movie, but not at all on this web site.
As I write this, StackOverflow has suggested a similar question, stumped on how to scrape the data from this site (using R). This suggests using RSelenium. I have followed this approach without success. I get a number of errors, including "package or namespace load failed for ‘RSelenium’".