how do I store the output I get from html_table into a variable?:
library(rvest)
elec<-
read_html("https://en.wikipedia.org/wiki/Botswana_general_election,_1969")
elec%>%
html_nodes("table.wikitable")%>%
html_table(fill=TRUE)
Minimal example: