{
  "_id": "6a1eb8d7b25058d4daadf10c",
  "Package": "Relectoral",
  "Type": "Package",
  "Title": "Electoral Analysis",
  "Version": "0.1.0",
  "Author": "Miguel Rodríguez Asensio",
  "Maintainer": "Miguel Rodríguez Asensio\n<miguel.rodriguezasensio@gmail.com>",
  "Description": "Functions to obtain an important number of electoral\nindicators described in the package, which can be divided into\ntwo large sections: The first would be the one containing the\nindicators of electoral disproportionality, such as, Rae index,\nLoosemore–Hanby index, etc. The second group is intended to\nstudy the dimensions of the party system vote, through the\nindicators of electoral fragmentation, polarization,\nvolatility, etc. Moreover, multiple seat allocation simulations\ncan also be performed based on different allocation systems,\nsuch as the D'Hondt method, Sainte-Laguë, etc. Finally, some of\nthese functions have been built so that, if the user wishes,\nthe data provided by the Spanish Ministry of Home Office for\ndifferent electoral processes held in Spain can be obtained\nautomatically. All the above will allow the users to carry out\ndeep studies on the results obtained in any type of electoral\nprocess. The methods are described in: Oñate, Pablo and Ocaña,\nFrancisco A. (1999, ISBN:9788474762815); Ruiz Rodríguez,\nLeticia M. and Otero Felipe, Patricia (2011,\nISBN:9788474766226).",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.1.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 10:53:47 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "libabsl-dev cmake libfontconfig1-dev\nlibfreetype6-dev libgdal-dev gdal-bin libgeos-dev make\ndefault-jdk libuv1-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://miguelro.r-universe.dev",
  "Date/Publication": "2020-06-14 13:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/Relectoral",
  "RemoteRef": "HEAD",
  "RemoteSha": "7eb4b00df8bf1aff5f715aa223cadc1b46305851",
  "MD5sum": "0c99875b747b51b0ee2ae72006f6b212",
  "_user": "miguelro",
  "_type": "src",
  "_file": "Relectoral_0.1.0.tar.gz",
  "_fileid": "62ea776ee2a632fe7975ab374d01baff8daa63ac7d14c28a60e352d0887dbb25",
  "_filesize": 2935460,
  "_sha256": "62ea776ee2a632fe7975ab374d01baff8daa63ac7d14c28a60e352d0887dbb25",
  "_created": "2026-06-02T10:53:47.000Z",
  "_published": "2026-06-02T11:04:55.784Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79054850411,
      "time": 196,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7355802907"
    },
    {
      "job": 79054850423,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7355796167"
    },
    {
      "job": 79054850431,
      "time": 214,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7355929239"
    },
    {
      "job": 79054850417,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7355874402"
    },
    {
      "job": 79054185646,
      "time": 245,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355736583"
    },
    {
      "job": 79054850391,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355784628"
    },
    {
      "job": 79054850485,
      "time": 234,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7355815723"
    },
    {
      "job": 79054850445,
      "time": 123,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7355779227"
    },
    {
      "job": 79054850426,
      "time": 127,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7355780480"
    }
  ],
  "_buildurl": "https://github.com/r-universe/miguelro/actions/runs/26814913667",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/Relectoral",
  "_commit": {
    "id": "7eb4b00df8bf1aff5f715aa223cadc1b46305851",
    "author": "Miguel Rodríguez Asensio <miguel.rodriguezasensio@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1592140802
  },
  "_maintainer": {
    "name": "Miguel Rodríguez Asensio",
    "email": "miguel.rodriguezasensio@gmail.com",
    "login": "miguelro",
    "description": "",
    "uuid": 36134758
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "ggforce",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "xlsx",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "miguelro",
      "count": 1,
      "uuid": 36134758
    }
  ],
  "_userbio": {
    "uuid": 36134758,
    "type": "user",
    "name": "Miguelro"
  },
  "_downloads": {
    "count": 134,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/Relectoral"
  },
  "_searchresults": 0,
  "_topics": [
    "openjdk"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/Relectoral.html",
    "manual.pdf"
  ],
  "_realowner": "miguelro",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-06-14"
    }
  ],
  "_exports": [
    "Agregado_Mun_MIR",
    "Agregado_Prov_MIR",
    "AgregadosIndi",
    "Arc_Comparacion",
    "Arc_Parlamentario",
    "Bazi",
    "Bochsler",
    "competitividad",
    "concentracion",
    "Cox_Shugart",
    "Cox_Shugart_correg",
    "Desagregados_Mesa_Mir",
    "DesAgregadosIndi",
    "fragmentacion_rae",
    "Gallagher",
    "get_CCAA",
    "get_Provincias",
    "hiper",
    "IN_LAGO_MONTERO",
    "InjusticiaM",
    "InjusticiaM_desagregada",
    "INP",
    "INSP",
    "L_max",
    "L_Tukey",
    "Loos_Hanby",
    "mapa",
    "nep",
    "nepMolinar",
    "polarizacion",
    "polarizacion_Dalton",
    "Rae",
    "Rae_corregido",
    "Regionalismo",
    "reparto_div",
    "Restos_Mayores",
    "Sainte_Lague",
    "volatilidad"
  ],
  "_help": [
    {
      "page": "Agregado_Mun_MIR",
      "title": "Download.  Aggregated data at the municipal level obtained from the MIR (Spanish Ministry of Home Office)",
      "topics": [
        "Agregado_Mun_MIR"
      ]
    },
    {
      "page": "Agregado_Prov_MIR",
      "title": "Download. Reading of aggregate data at the provincial level obtained from the MIR (Spanish Ministry of Home Office)",
      "topics": [
        "Agregado_Prov_MIR"
      ]
    },
    {
      "page": "AgregadosIndi",
      "title": "Utilities. Obtaining electoral indicators from aggregated data",
      "topics": [
        "AgregadosIndi"
      ]
    },
    {
      "page": "Arc_Comparacion",
      "title": "Graphs. Comparative chart of Parliamentary Arcs",
      "topics": [
        "Arc_Comparacion"
      ]
    },
    {
      "page": "Arc_Parlamentario",
      "title": "Graphs. Representation of Parliamentary Arc",
      "topics": [
        "Arc_Parlamentario"
      ]
    },
    {
      "page": "Bazi",
      "title": "Utilities. Generation of *.bazi files",
      "topics": [
        "Bazi"
      ]
    },
    {
      "page": "Bochsler",
      "title": "Utilities. Get data for Bochsler method (2010)",
      "topics": [
        "Bochsler"
      ]
    },
    {
      "page": "competitividad",
      "title": "Voting Dimension Index. Competitiveness (electoral and parliamentary).",
      "topics": [
        "competitividad"
      ]
    },
    {
      "page": "concentracion",
      "title": "Voting Dimension Index. Concentration of votes (electoral and parliamentary)",
      "topics": [
        "concentracion"
      ]
    },
    {
      "page": "Cox_Shugart",
      "title": "Cox_Shugart disproportionality index - 1991 ( CS )",
      "topics": [
        "Cox_Shugart"
      ]
    },
    {
      "page": "Cox_Shugart_correg",
      "title": "Cox_Shugart disproportionality index corrected ( CS_correg )",
      "topics": [
        "Cox_Shugart_correg"
      ]
    },
    {
      "page": "Desagregados_Mesa_Mir",
      "title": "Download. Disaggregated data at polling station level obtained from the MIR (Spanish Ministry of Home Office)",
      "topics": [
        "Desagregados_Mesa_Mir"
      ]
    },
    {
      "page": "DesAgregadosIndi",
      "title": "Utilities. Obtaining electoral indicators from disaggregated data",
      "topics": [
        "DesAgregadosIndi"
      ]
    },
    {
      "page": "fragmentacion_rae",
      "title": "Rae's fragmentation (electoral and parliamentary) vote dimension (F)",
      "topics": [
        "fragmentacion_rae"
      ]
    },
    {
      "page": "Gallagher",
      "title": "Gallagher's disproportionality index of minimum squares - 1991 (Gcm)",
      "topics": [
        "Gallagher"
      ]
    },
    {
      "page": "get_CCAA",
      "title": "Utilities. ID codes of the Spanish Autonomous Communities",
      "topics": [
        "get_CCAA"
      ]
    },
    {
      "page": "get_Provincias",
      "title": "Utilities. ID codes of the provinces of Spain",
      "topics": [
        "get_Provincias"
      ]
    },
    {
      "page": "hiper",
      "title": "Voting Dimension Index. Hyperfractionality index (electoral and parliamentary) (I)",
      "topics": [
        "hiper"
      ]
    },
    {
      "page": "IN_LAGO_MONTERO",
      "title": "Nationalisation Index of Montero and Lago (2010)",
      "topics": [
        "IN_LAGO_MONTERO"
      ]
    },
    {
      "page": "InjusticiaM",
      "title": "utilities.Mathematical Injustice ( IM )",
      "topics": [
        "InjusticiaM"
      ]
    },
    {
      "page": "InjusticiaM_desagregada",
      "title": "Utilities. Disaggregated Mathematical Injustice Calculation",
      "topics": [
        "InjusticiaM_desagregada"
      ]
    },
    {
      "page": "INP",
      "title": "Party Nationalization Index (INP)",
      "topics": [
        "INP"
      ]
    },
    {
      "page": "INSP",
      "title": "Nationalisation Index of the Political Party System (INSP)",
      "topics": [
        "INSP"
      ]
    },
    {
      "page": "L_max",
      "title": "Index of disproportionality of maximum deviation (Lmax)",
      "topics": [
        "L_max"
      ]
    },
    {
      "page": "L_Tukey",
      "title": "Disproportionality index. Tuckey's line (LT)",
      "topics": [
        "L_Tukey"
      ]
    },
    {
      "page": "Loos_Hanby",
      "title": "Disproportionality index of Loosemore and Hanby - 1971 (\"LH\")",
      "topics": [
        "Loos_Hanby"
      ]
    },
    {
      "page": "mapa",
      "title": "Graphs. Representation on maps. Choropleth map",
      "topics": [
        "mapa"
      ]
    },
    {
      "page": "nep",
      "title": "Voting dimension index. Effective number of political parties (electoral and parliamentary) (N)",
      "topics": [
        "nep"
      ]
    },
    {
      "page": "nepMolinar",
      "title": "Voting Dimension Index. Molinar's index of number of parties (electoral and parliamentary) (NP)",
      "topics": [
        "nepMolinar"
      ]
    },
    {
      "page": "polarizacion",
      "title": "Dimensionality of voting. Polarization index. ( PP )",
      "topics": [
        "polarizacion"
      ]
    },
    {
      "page": "polarizacion_Dalton",
      "title": "Dimensionality of voting. Adapted version of the polarisation index from Dalton (2008) (Pd)",
      "topics": [
        "polarizacion_Dalton"
      ]
    },
    {
      "page": "Disproportionality",
      "title": "Disproportionality index of Rae - 1971 (\"R\")",
      "topics": [
        "Rae"
      ]
    },
    {
      "page": "Rae_corregido",
      "title": "Corrected Rae's disproportionality index (\"Rco\")",
      "topics": [
        "Rae_corregido"
      ]
    },
    {
      "page": "Regionalismo",
      "title": "Dimensionality of voting. Regionalism",
      "topics": [
        "Regionalismo"
      ]
    },
    {
      "page": "reparto_div",
      "title": "Allocation using divisor methods",
      "topics": [
        "reparto_div"
      ]
    },
    {
      "page": "Restos_Mayores",
      "title": "Largest remainder method",
      "topics": [
        "Restos_Mayores"
      ]
    },
    {
      "page": "Sainte_Lague",
      "title": "Sainte-Lague index of disproportionality (SL)",
      "topics": [
        "Sainte_Lague"
      ]
    },
    {
      "page": "volatilidad",
      "title": "Dimensionality of voting. Volatility",
      "topics": [
        "volatilidad"
      ]
    }
  ],
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cellranger",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "crayon",
    "DBI",
    "digest",
    "dplyr",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggforce",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "hms",
    "htmltools",
    "isoband",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "MASS",
    "memoise",
    "mime",
    "pillar",
    "pkgconfig",
    "polyclip",
    "prettyunits",
    "progress",
    "proxy",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "readxl",
    "rematch",
    "rJava",
    "rlang",
    "rmarkdown",
    "s2",
    "S7",
    "sass",
    "scales",
    "sf",
    "systemfonts",
    "tibble",
    "tidyselect",
    "tinytex",
    "tweenr",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk",
    "xfun",
    "xlsx",
    "xlsxjars",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libjvm",
      "package": "openjdk-21-jre-headless",
      "headers": "openjdk-21-jre-headless",
      "source": "openjdk",
      "version": "21.0.11+10-1~24.04.2",
      "name": "openjdk",
      "homepage": "https://openjdk.java.net/",
      "description": "OpenJDK Java runtime, using Hotspot JIT (headless)"
    }
  ],
  "_vignettes": [
    {
      "source": "Volatilidad.Rmd",
      "filename": "Volatilidad.html",
      "title": "Electoral Volatility",
      "author": "Miguel Rodriguez",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction.",
        "Volatility calculation.",
        "Example of use."
      ],
      "created": "2020-06-14 13:20:02",
      "modified": "2020-06-14 13:20:02",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "relectoral",
  "_universes": [
    "miguelro"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-02T10:56:36.000Z",
      "distro": "noble",
      "commit": "7eb4b00df8bf1aff5f715aa223cadc1b46305851",
      "fileid": "95e2e2260e2b02a4b811d4bd6f6df0b7f057e156d2f19230ed0793d03779dc1e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/miguelro/actions/runs/26814913667"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-02T10:56:20.000Z",
      "distro": "noble",
      "commit": "7eb4b00df8bf1aff5f715aa223cadc1b46305851",
      "fileid": "76145768338183d1d766596a1109746b8711aed08dcc5ca4ebcfaedb74404c62",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/miguelro/actions/runs/26814913667"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-02T11:03:11.000Z",
      "commit": "7eb4b00df8bf1aff5f715aa223cadc1b46305851",
      "fileid": "dd8a0253811f10ebd853334848ff358ebd1908662124ad2c42b813f4028afdad",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/miguelro/actions/runs/26814913667"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-02T11:00:34.000Z",
      "commit": "7eb4b00df8bf1aff5f715aa223cadc1b46305851",
      "fileid": "52790ce811dd2b81a3f2dcabd0f2aaffada87044143e84b5f2ca1abd2bb51cf3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/miguelro/actions/runs/26814913667"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-02T10:56:33.000Z",
      "commit": "7eb4b00df8bf1aff5f715aa223cadc1b46305851",
      "fileid": "8e65e4b1e48911d3cb096c6e5ad4160aec13e7ae0dd1d14e450ce002fbdc0521",
      "status": "success",
      "buildurl": "https://github.com/r-universe/miguelro/actions/runs/26814913667"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-02T10:57:10.000Z",
      "commit": "7eb4b00df8bf1aff5f715aa223cadc1b46305851",
      "fileid": "03df7f6214a8650ac960a32a5f13826da898d74689440ac1f77b98532a81078b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/miguelro/actions/runs/26814913667"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-02T10:55:12.000Z",
      "commit": "7eb4b00df8bf1aff5f715aa223cadc1b46305851",
      "fileid": "152914fab7d71554aeb5035d62b6419660522230c9ed037840f623c61097cb83",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/miguelro/actions/runs/26814913667"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-02T10:55:16.000Z",
      "commit": "7eb4b00df8bf1aff5f715aa223cadc1b46305851",
      "fileid": "2d032d4ba28eea14882d9e4efab9a90aa53d049e75296f481881f107f4c2e565",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/miguelro/actions/runs/26814913667"
    }
  ]
}