powered by
A function for retrieving a specific publication. Because these are formatted very differently in the API, the returning object is in a raw html_document format, best manipulated with html node extraction functions such as rvest::html_elements() .
rvest::html_elements()
get_publication(publicationid = NA, good_manners = 0)
A raw html_document
Character string indicating the id of the publication to request all votes from
Integer. Seconds delay between calls when making multiple calls to the same function
get_question get_question_hour get_session_publications
if (FALSE) { pub <- get_publication("refs-201819-03-06") (pub |> html_elements("replikk"))[1] |> html_text() }
Run the code above in your browser using DataLab