Description Usage Arguments Value See Also Examples
View source: R/read_scrapeBill.R
Read and write a (or a list of) scrapeBill
object.
1 2 3 | 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.
1 2 3 4 5 | tgturl <- "https://www.congress.gov/bill/116th-congress/senate-bill/252"
bill252 <- scrapeBill(tgturl)
write_scrapeBill(bill252, "bill252.rds")
test <- read_scrapeBill("bill252.rds")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.