Description Usage Arguments Details Value See Also Examples
A function to mend misreadings of vote strings.
1 | mend.text(path, chamber = "st")
|
path |
Character string of the directory where the full text file can be located. |
The function reads the full text file made by collapse.text
, replaces misread
vote occurances using gsub
, and splits the document into a data frame of these votes
using strapply
from the gsubfn package. It is important to run both
order.files
and collapse.text
before running this command.
Returns one text vector where all single page text files are pasted in the right order.
order.files
, votedf
, collapse.text
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.