Learn R Programming

speechbr (version 2.0.0)

speech_data: Obtains the text of the speech

Description

Extract the text of the speech given an URL.

Usage

speech_data(keyword, start_date, end_date, uf = "", speaker = "", party = "")

Arguments

keyword

principal text or phrase present on speech.

start_date

start date of search.

end_date

end date of search.

uf

state acronym.

speaker

speaker's name.

party

political party of speaker.

Value

the speech data with all informational columns and the speech.

Examples

Run this code
# NOT RUN {
 tecnologia_speeches <- speech_data(
   keyword = "tecnologia",
   reference_date = "2021-12-20",
   start_date = "2021-12-10",
   end_date = "2021-12-31")

# }

Run the code above in your browser using DataLab