inst/doc/infoelectoral.R

## ----setup, include=FALSE-----------------------------------------------------
knitr::opts_chunk$set(echo = T, results = T, include = T, warning = F, message = F)

## -----------------------------------------------------------------------------
library(infoelectoral)
library(dplyr)
df <- municipios(tipo_eleccion = "congreso", anno = "1982", mes = "10")
glimpse(df)

## -----------------------------------------------------------------------------
df <- mesas("congreso", "2019", "04")
glimpse(df)

## -----------------------------------------------------------------------------
df <- candidatos(tipo_eleccion = "senado", anno = "2019", mes = "11", nivel = "municipio")
glimpse(df)

## -----------------------------------------------------------------------------
df <- candidatos("europeas", "2019", "05")
glimpse(df)

Try the infoelectoral package in your browser

Any scripts or data that you put into this service are public.

infoelectoral documentation built on June 22, 2024, 6:59 p.m.