Skip to content

Instantly share code, notes, and snippets.

@louisahsmith
louisahsmith / get_SER_abstracts.R
Created January 17, 2020 18:03
create a text file with all the SER abstracts assigned to you
library(rvest)
username <- "louisa_h_smith"
.password <- rstudioapi::askForPassword("SER password")
save_path <- "~/Desktop"
get_abstract_text <- function(i, review_homepage, titles) {
abstract <- jump_to(review_homepage, links[i])
text <- html_nodes(abstract, "article") %>%
html_children() %>%