I'm trying to import a wikipedia page text, but I am getting an error from the library(WikipediR). Here it is my code & error:
library(WikipediR)
wp_content <- page_content("en","wikipedia", page_name = "COVID-19 vaccine",
clean_response = T, as_wikitext = T)
Error in UseMethod("parse_response", x) :
no applicable method for 'parse_response' applied to an object of class "pcontent"