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.

https://github.com/ropenspain/infoelectoral

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

data elecciones elections electoral infoelectoral r spain
Last synced: 6 months ago · JSON representation

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
Statistics
  • Stars: 31
  • Watchers: 3
  • Forks: 6
  • Open Issues: 0
  • Releases: 0
Topics
data elecciones elections electoral infoelectoral r spain
Created over 7 years ago · Last pushed over 1 year ago
Metadata Files
Readme

README.md

infoelectoral

R-CMD-check [CRAN status License: GPL-2 rOS-badge

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

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

All Time
  • Total Commits: 118
  • Total Committers: 6
  • Avg Commits per committer: 19.667
  • Development Distribution Score (DDS): 0.559
Past Year
  • Commits: 12
  • Committers: 1
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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
bug (1)
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

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 535 Last month
Rankings
Dependent packages count: 28.1%
Dependent repos count: 36.1%
Average: 49.7%
Downloads: 84.9%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • 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
.github/workflows/check-standard.yaml actions
  • 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
.github/workflows/pkgdown.yaml actions
  • 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