get_speech: Descarga discursos (_Download speeches_)

View source: R/get_speech.R

get_speechR Documentation

Descarga discursos (Download speeches)

Description

Funció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

  
  get_speech(year = 1949)
        
   

electorArg/polAr documentation built on Oct. 31, 2023, 8:27 a.m.