It allows to check that the names of the legislators are
correctly written before compiling the documents in speech_build
.
speech_check(tidy_speech, initial, expand = FALSE)
data.frame.
character vector. Initial of the legislators' names. If no initial is entered, all will be checked.
logical. If TRUE
, the legislature to which the name of the legislator
belongs is shown. By default By default is FALSE
.
list with a data.frame for each initial of legislators' names.
# \donttest{
# url <- "http://bit.ly/35AUVF4"
# out <- speech_build(file = url)
# speech_check(out, initial = c("A", "M"), expand = FALSE)
# }