speech_check {speech} | R Documentation |
Check the names of legislators
Description
It allows to check that the names of the legislators are
correctly written before compiling the documents in speech_build
.
Usage
speech_check(tidy_speech, initial, expand = FALSE)
Arguments
tidy_speech |
data.frame. |
initial |
character vector. Initial of the legislators' names. If no initial is entered, all will be checked. |
expand |
logical. If |
Value
list with a data.frame for each initial of legislators' names.
Examples
# url <- "http://bit.ly/35AUVF4"
# out <- speech_build(file = url)
# speech_check(out, initial = c("A", "M"), expand = FALSE)
[Package speech version 0.1.5 Index]