speech_check: Check the names of legislators

View source: R/speech_check.R

speech_checkR 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 TRUE, the legislature to which the name of the legislator belongs is shown. By default By default is FALSE.

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)


speech documentation built on Oct. 4, 2022, 1:07 a.m.