infoelectoral
infoelectoral is a R library that helps retrieve and analize official electoral results for Spain from the Ministry of the Interior. It allows you to download the results of general, european and municipal elections of any year at the polling station and municipality level.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.8%) to scientific vocabulary
Keywords
Repository
infoelectoral is a R library that helps retrieve and analize official electoral results for Spain from the Ministry of the Interior. It allows you to download the results of general, european and municipal elections of any year at the polling station and municipality level.
Basic Info
- Host: GitHub
- Owner: rOpenSpain
- Language: R
- Default Branch: master
- Homepage: https://ropenspain.github.io/infoelectoral/
- Size: 17.3 MB
Statistics
- Stars: 31
- Watchers: 3
- Forks: 6
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
infoelectoral
infoelectoral is a R library that helps retrieve official electoral results for Spain from the Ministry of the Interior. It allows you to download the results of general, european and municipal elections of any year at the polling station and municipality level.
Installation
``` r
To install the latest stable version from CRAN:
install.packages("infoelectoral")
To install the development version:
devtools::install_github("ropenspain/infoelectoral") ```
Overview
infoelectoral has four functions:
-
mesas()downloads the electoral results data of the selected election at the polling station level. -
municipios()downloads the electoral results data of the selected election at the municipality level. -
provincias()downloads the electoral results data of the selected election at the constituency level. -
candidatos()downloads the candidates data of the selected elections.
The package also includes some datasets with the official names of the territorial units and the election dates.
Basic usage
r
library(infoelectoral)
df <- municipios(tipo_eleccion = "congreso", anno = 1982, mes = "10")
Learn more
For a a extended example of how all functions work please check the vignettes:
Owner
- Name: rOpenSpain
- Login: rOpenSpain
- Kind: organization
- Email: hola@ropenspain.es
- Location: Spain
- Website: http://ropenspain.es
- Repositories: 21
- Profile: https://github.com/rOpenSpain
rOpenSci is our form, Spanish public data our matter
GitHub Events
Total
- Issues event: 3
- Watch event: 1
- Issue comment event: 3
Last Year
- Issues event: 3
- Watch event: 1
- Issue comment event: 3
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| hmeleiro | h****s@g****m | 52 |
| meleiro | m****s@h****s | 38 |
| Hector Meleiro | h****o@i****e | 24 |
| Hector Meleiro | h****o@i****e | 2 |
| Fran Villamil | f****l@g****m | 1 |
| dieghernan | d****o@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 8
- Total pull requests: 4
- Average time to close issues: about 2 months
- Average time to close pull requests: 23 days
- Total issue authors: 8
- Total pull request authors: 3
- Average comments per issue: 2.88
- Average comments per pull request: 0.5
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 3 months
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- jesbrz (2)
- hmeleiro (1)
- paugrau (1)
- Wolbyworld (1)
- numeroteca (1)
- grial (1)
- franvillamil (1)
- EndoZou (1)
- dieghernan (1)
Pull Request Authors
- dieghernan (3)
- paugrau (2)
- franvillamil (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 535 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
- Total maintainers: 1
cran.r-project.org: infoelectoral
Download Spanish Election Results
- Homepage: https://github.com/rOpenSpain/infoelectoral
- Documentation: http://cran.r-project.org/web/packages/infoelectoral/infoelectoral.pdf
- License: GPL-2
- Status: removed
-
Latest release: 1.0.0
published almost 2 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.5.0 depends
- dplyr >= 1.0.0 imports
- rlang >= 0.4.0 imports
- stringr >= 1.0.0 imports
- knitr * suggests
- mapSpain * suggests
- preferably * suggests
- tidyr * suggests
- tmap * suggests
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite