allows to modify the legislators' name prior to compiling the data.

speech_legis_replace(tidy_speech, old, new, id = NULL)

Arguments

tidy_speech

data.frame class puy.

old

old legislator's name.

new

new legislator's name.

id

id 'floor speech'.

Value

data.frame.

Examples

# \donttest{
# url <- "http://bit.ly/35AUVF4"
# out <- speech_build(file = url)
# speech_check(out, "G")
# out <- speech_legis_replace(out, old = "GOI",  new = "GONI")
# }