Save response from web-scraping as csv file
问题 I downloaded a file from a website with rvest . How can I save the response as a csv file? Step 1 : Monkey patch rvest package like in this thread: How to submit login form in Rvest package w/o button argument library(tidyverse) library(rvest) library(R.utils) # monkey path submit_form custom.submit_request <- function (form, submit = NULL) { is_submit <- function(x) { if (!exists("type", x) | is.null(x$type)){ return(F); } tolower(x$type) %in% c("submit", "image", "button") } submits <-