Learn R Programming

polAr (version 0.2.0.1)

get_speech: Descarga discursos (Download speeches)

Description

Funci<U+00F3>n que descarga los discursos presidenciales ante la Asamblea Legislativa desde 1854 hasta 2020 (Function that downloads presidential speeches to de National Legislative Assembly from 1854 to 2020.)

Usage

get_speech(year = NULL, raw = FALSE)

Arguments

year

integer con identificador de discurso que se quiere seleccionar. Se puede explorar un listado de discursos con show_available_speech (integer id for a selected speech. Explore full list of speeches with show_available_speech).

raw

boleano que permite descargar discurso en formato tidy cuando raw = FALSE o crudo caso contrario (boolean that sets if you want to download raw or tidy formated speech data).

Value

Devuelve un tibble con clases "spec_tbl_df" "tbl_df" "tbl" "data.frame" con el contenido de un discurso presidencial en tres variables: discurso, presidente, year. (it retruns a tibble with three variables (speech - discurso - president -presidente and year). The object is of class "tbl_df","tbl","data.frame").

See Also

plot_speech

Examples

Run this code
# NOT RUN {
  
  get_speech(year = 1949)
        
   
# }

Run the code above in your browser using DataLab