View source: R/speech_recompiler.R
speech_recompiler | R Documentation |
It allows to recompile the datasets speech or a data.frame built with
speech_build
to which the variable political party was added.
speech_recompiler( tidy_speech, compiler_by = c("legislator", "legislature", "chamber", "date", "id", "sex") )
tidy_speech |
data.frame. |
compiler_by |
character vector. Variables for which you may want to recompile the data frame. |
The default compilation is that of \ code speech_build (., compiler = TRUE). This function allows to recompile the data by different levels of aggregation: chamber, legislature or other variables.
data.frame.
# url <- "http://bit.ly/35AUVF4" # out <- speech_build(file = url) # out2 <- speech_recompiler(out) # out2 <- speech_recompiler(out, compiler_by = c("legislator", "legislature", "chamber"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.