scrapeBill
Objectread_scrapeBill.Rd
Read and write a (or a list of) scrapeBill
object.
read_scrapeBill(file, subset = NULL) write_scrapeBill(x, file, aux = "None", ...)
file | A |
---|---|
subset |
|
x | A (or A list of) |
aux | Whether to export auxiliary files into separate folder when |
... | Additional argument passed to |
For read_scrapeBill
, an R
object.
For write_scrapeBill
, NULL
invisibly. If write_scrapeBill
writes out auxiliary files under FILENAME_files
folder, DON'T delete the
folder. read_scrapeBill
will need the files in the folder to read file.
tgturl <- "https://www.congress.gov/bill/116th-congress/senate-bill/252" bill252 <- scrapeBill(tgturl) write_scrapeBill(bill252, "bill252.rds") test <- read_scrapeBill("bill252.rds")