Skip to content

Commit

Permalink
Builds a vignette index
Browse files Browse the repository at this point in the history
  • Loading branch information
hmeleiro committed Mar 5, 2024
1 parent 5b473a7 commit 69f9248
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
^docs$
^pkgdown$
^\.github$
vignettes/
^data/.+\.xlsx
^data/.+\.csv
^doc$
^Meta$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ gender_gap.Rmd
data/elecciones.csv
.+xlsx
.+csv
/doc/
/Meta/
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Package: infoelectoral
Type: Package
Title: Descarga resultados electorales de España a nivel de mesa electoral del Ministerio del Interior
Version: 0.1
Title: Download Spanish Election Results
Version: 1.0.0
Author: Héctor Meleiro
Maintainer: Héctor Meleiro <[email protected]>
Description: Descarga resultados electorales oficiales de España a nivel de mesa electoral y municipio del Ministerio del Interior, los formatea y los importa al espacio de trabajo.
Description: Download official election results for Spain at polling station, municipality and province level from the Ministry of Interior, format them and import them to the R environment.
Depends: R (>= 3.5.0)
License: GPL-2
URL: https://github.com/rOpenSpain/infoelectoral
Expand Down
2 changes: 1 addition & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@
#' \item{codigo_seccion}{Code given to the census section made by the combination of the codes of the province, the municipality, the district and the section.}
#' \item{renta}{Mean income of the census section in euros}
#' }
#' @source \url{https://www.ine.es/experimental/atlas/experimental_atlas.htm}
#' @source \url{https://www.ine.es/dyngs/INEbase/es/operacion.htm?c=Estadistica_C&cid=1254736177088&menu=ultiDatos&idp=1254735976608}
"renta"
2 changes: 1 addition & 1 deletion man/renta.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions vignettes/infoelectoral.Rmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
---
title: "Get started"
vignette: >
%\VignetteIndexEntry{Get started}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

```{r setup, include=FALSE}
Expand Down
5 changes: 4 additions & 1 deletion vignettes/municipios.Rmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
---
title: "Using infoelectoral to make electoral maps"
vignette: >
%\VignetteIndexEntry{Using infoelectoral to make electoral maps}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---


Expand All @@ -16,7 +20,6 @@ Install [infoelectoral](https://ropenspain.github.io/infoelectoral/) and load th
library(infoelectoral)
# Cargo el resto de librerías
library(sf)
library(dplyr)
library(tidyr)
Expand Down

0 comments on commit 69f9248

Please sign in to comment.