This is an example of how to web scrape grants of active research in college’s official website. Please follow the academia institute’s website robotes rules.
library(XML) library(stringr) library(rvest) library(tidyverse) library(kableExtra) Web Scrapping topics = rep(NA, 84) fundings = rep(NA, 84) iter = 0 for (page in 1:9) { ## parent webpage scrape_url <- paste0('http://XXXXXXXXXXXXXXXXXXXXXX', page) html_form_page <- read_html(scrape_url) ## find the child web page containing projects' name, total award, topic etc.