speech_legis_replace {speech}R Documentation

Rename legislators

Description

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

Usage

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


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



[Package speech version 0.1.5 Index]