-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modifications, examples and tests to submit to CRAN
- Loading branch information
Showing
26 changed files
with
406 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,25 @@ Package: infoelectoral | |
Type: Package | ||
Title: Download Spanish Election Results | ||
Version: 1.0.0 | ||
Author: Héctor Meleiro | ||
Authors@R: | ||
person("Héctor", "Meleiro", | ||
email = "[email protected]", | ||
role = c("aut", "cre")) | ||
Maintainer: Héctor Meleiro <[email protected]> | ||
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. | ||
Description: Download official election results for Spain at polling station, municipality and province level from the Ministry of Interior (<https://infoelectoral.interior.gob.es/es/elecciones-celebradas/area-de-descargas/>), format them and import them to the R environment. | ||
Depends: R (>= 3.5.0) | ||
License: GPL-2 | ||
URL: https://github.com/rOpenSpain/infoelectoral | ||
Encoding: UTF-8 | ||
LazyData: true | ||
Imports: rlang (>= 0.4.0), dplyr (>= 1.0.0), stringr (>= 1.0.0) | ||
Suggests: mapSpain, tmap, tidyr, preferably, knitr | ||
Imports: dplyr (>= 1.0.0), stringr (>= 1.0.0) | ||
Suggests: | ||
mapSpain, | ||
tmap, | ||
tidyr, | ||
preferably, | ||
knitr, | ||
testthat (>= 3.0.0) | ||
RoxygenNote: 7.2.3 | ||
VignetteBuilder: knitr | ||
Config/testthat/edition: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
\dontrun{ | ||
data <- candidatos(tipo_eleccion = "senado", anno = "2004", | ||
mes = "03", nivel = "municipio") | ||
str(data) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
\dontrun{ | ||
data <- mesas(tipo_eleccion = "congreso", anno = "2023", mes = "07") | ||
str(data) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
\dontrun{ | ||
data <- municipios(tipo_eleccion = "congreso", anno = "2019", mes = "11") | ||
str(data) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
\dontrun{ | ||
data <- provincias(tipo_eleccion = "congreso", anno = "1982", mes = "10") | ||
str(data) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.