{
  "_id": "6a495100f6c47c441949af4a",
  "Package": "infoelectoral",
  "Type": "Package",
  "Title": "Download Spanish Election Results",
  "Version": "1.0.3",
  "Authors@R": "person(\"Héctor\", \"Meleiro\",\nemail = \"hmeleiros@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0003-4468-2197\"))",
  "Maintainer": "Héctor Meleiro <hmeleiros@gmail.com>",
  "Description": "Download official election results for Spain at polling\nstation, municipality and province level, format them and\nimport them to the R environment. Data are provided by the\nSpanish Ministry of the Interior\n(<https://infoelectoral.interior.gob.es/es/inicio/>).",
  "License": "GPL-2",
  "URL": "https://github.com/rOpenSpain/infoelectoral",
  "BugReports": "https://github.com/rOpenSpain/infoelectoral/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "hmeleiro/spainelectoraltheme",
  "Config/pak/sysreqs": "libicu-dev libssl-dev",
  "Repository": "https://ropenspain.r-universe.dev",
  "Date/Publication": "2026-06-30 11:04:18 UTC",
  "RemoteUrl": "https://github.com/rOpenSpain/infoelectoral",
  "RemoteRef": "HEAD",
  "RemoteSha": "c973c880324d1e4a7766478dfb42278fb52e22d1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-30 13:33:35 UTC",
    "User": "root"
  },
  "Author": "Héctor Meleiro [aut, cre] (ORCID:\n<https://orcid.org/0009-0003-4468-2197>)",
  "_user": "ropenspain",
  "_type": "src",
  "_file": "infoelectoral_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/a76bfae90edb25a23b65ae302f5ef38a7bd841fec645b95c635bebd5dfbd3cc3",
  "_filesize": 491654,
  "_sha256": "a76bfae90edb25a23b65ae302f5ef38a7bd841fec645b95c635bebd5dfbd3cc3",
  "_expires": "2026-10-12T18:29:19.000Z",
  "_created": "2026-06-30T13:33:35.000Z",
  "_published": "2026-07-04T18:29:20.917Z",
  "_jobs": [
    {
      "job": 85156408610,
      "time": 201,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7982244028"
    },
    {
      "job": 85156408687,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7982232385"
    },
    {
      "job": 85156408789,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7982326954"
    },
    {
      "job": 85156408736,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7982292032"
    },
    {
      "job": 85156408527,
      "time": 197,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7982146579"
    },
    {
      "job": 85156408762,
      "time": 156,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7982223639"
    },
    {
      "job": 85156408564,
      "time": 92,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7982192313"
    },
    {
      "job": 85156408715,
      "time": 83,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7982188191"
    },
    {
      "job": 85156408703,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7982194452"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ropenspain/actions/runs/28448106079",
  "_status": "success",
  "_upstream": "https://github.com/rOpenSpain/infoelectoral",
  "_commit": {
    "id": "c973c880324d1e4a7766478dfb42278fb52e22d1",
    "author": "Meleiro <hmeleiros@gmail.com>",
    "committer": "Meleiro <hmeleiros@gmail.com>",
    "message": "Added sep badge to README\n",
    "time": 1782817458
  },
  "_maintainer": {
    "name": "Héctor Meleiro",
    "email": "hmeleiros@gmail.com",
    "login": "hmeleiro",
    "twitter": "@hmeleiros",
    "description": "Political Scientist and R enthusiast. I like politics, survey analysis, web scraping and data visualization.",
    "uuid": 29704914
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "httr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "mapSpain",
      "version": ">= 0.9.0",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ropenspain",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-16",
      "n": 9
    },
    {
      "week": "2026-18",
      "n": 4
    },
    {
      "week": "2026-27",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "data",
    "elecciones",
    "elections",
    "electoral",
    "infoelectoral",
    "spain"
  ],
  "_stars": 32,
  "_contributors": [
    {
      "user": "hmeleiro",
      "count": 98,
      "uuid": 29704914
    },
    {
      "user": "dieghernan",
      "count": 2,
      "uuid": 25656809
    },
    {
      "user": "franvillamil",
      "count": 1,
      "uuid": 3774527
    },
    {
      "user": "paugrau",
      "count": 1,
      "uuid": 52864303
    }
  ],
  "_userbio": {
    "uuid": 34716267,
    "type": "organization",
    "name": "rOpenSpain",
    "followers": 81,
    "description": "rOpenSci is our form, Spanish public data our matter"
  },
  "_downloads": {
    "count": 445,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/infoelectoral"
  },
  "_devurl": "https://github.com/ropenspain/infoelectoral",
  "_searchresults": 14,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/infoelectoral.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropenspain/infoelectoral",
  "_realowner": "ropenspain",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-03-11"
    },
    {
      "version": "1.0.1",
      "date": "2024-05-21"
    },
    {
      "version": "1.0.2",
      "date": "2024-05-30"
    },
    {
      "version": "1.0.3",
      "date": "2026-04-29"
    }
  ],
  "_exports": [
    "candidatos",
    "mesas",
    "municipios",
    "provincias"
  ],
  "_datasets": [
    {
      "name": "codigos_ccaa",
      "title": "Administrative codes for spanish autonomous communities.",
      "object": "codigos_ccaa",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "codigo_ccaa",
        "codigo_ccaa_ine",
        "ccaa"
      ],
      "rows": 19,
      "table": true,
      "tojson": true
    },
    {
      "name": "codigos_municipios",
      "title": "Administrative codes for spanish municipalities.",
      "object": "codigos_municipios",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "codigo_provincia",
        "codigo_municipio",
        "municipio"
      ],
      "rows": 8135,
      "table": true,
      "tojson": true
    },
    {
      "name": "codigos_partidos",
      "title": "Recoded party names",
      "object": "codigos_partidos",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "anno",
        "mes",
        "codigo_partido_nacional",
        "partido"
      ],
      "rows": 1057,
      "table": true,
      "tojson": true
    },
    {
      "name": "codigos_provincias",
      "title": "Administrative codes for spanish provinces.",
      "object": "codigos_provincias",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "codigo_ccaa",
        "codigo_ccaa_ine",
        "ccaa",
        "codigo_provincia",
        "provincia"
      ],
      "rows": 52,
      "table": true,
      "tojson": true
    },
    {
      "name": "fechas_elecciones",
      "title": "Election dates",
      "object": "fechas_elecciones",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "tipo_eleccion",
        "anno",
        "mes",
        "dia"
      ],
      "rows": 37,
      "table": true,
      "tojson": true
    },
    {
      "name": "renta",
      "title": "Mean income at the census section level (INE)",
      "object": "renta_secciones",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "codigo_seccion",
        "renta"
      ],
      "rows": 34680,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "candidatos",
      "title": "Download candidate data",
      "topics": [
        "candidatos"
      ]
    },
    {
      "page": "codigos_ccaa",
      "title": "Administrative codes for spanish autonomous communities.",
      "topics": [
        "codigos_ccaa"
      ]
    },
    {
      "page": "codigos_municipios",
      "title": "Administrative codes for spanish municipalities.",
      "topics": [
        "codigos_municipios"
      ]
    },
    {
      "page": "codigos_partidos",
      "title": "Recoded party names",
      "topics": [
        "codigos_partidos"
      ]
    },
    {
      "page": "codigos_provincias",
      "title": "Administrative codes for spanish provinces.",
      "topics": [
        "codigos_provincias"
      ]
    },
    {
      "page": "fechas_elecciones",
      "title": "Election dates",
      "topics": [
        "fechas_elecciones"
      ]
    },
    {
      "page": "mesas",
      "title": "Download data at the polling station level",
      "topics": [
        "mesas"
      ]
    },
    {
      "page": "municipios",
      "title": "Download data at the municipality level",
      "topics": [
        "municipios"
      ]
    },
    {
      "page": "provincias",
      "title": "Download data at the electoral constituency level (province or island)",
      "topics": [
        "provincias"
      ]
    },
    {
      "page": "renta",
      "title": "Mean income at the census section level (INE)",
      "topics": [
        "renta"
      ]
    }
  ],
  "_pkglogo": "https://github.com/rOpenSpain/infoelectoral/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/rOpenSpain/infoelectoral/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "infoelectoral.Rmd",
      "filename": "infoelectoral.html",
      "title": "Get started",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2021-12-12 17:03:37",
      "modified": "2026-04-17 10:58:25",
      "commits": 12
    },
    {
      "source": "municipios.Rmd",
      "filename": "municipios.html",
      "title": "Using infoelectoral to make electoral maps",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Install and load the packages",
        "Download the results",
        "Import the geometries",
        "Recode party names",
        "Join data and sf object",
        "Visualize"
      ],
      "created": "2021-12-12 15:42:09",
      "modified": "2026-04-17 10:58:25",
      "commits": 17
    }
  ],
  "_score": 6.60552052343747,
  "_indexed": true,
  "_nocasepkg": "infoelectoral",
  "_universes": [
    "ropenspain",
    "hmeleiro"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-30T13:36:49.000Z",
      "distro": "resolute",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/2cbbc06f79a5ef62af050a5cde9c96995c011fcd11d753dcc537a032f276a0bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/28448106079"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-30T13:36:26.000Z",
      "distro": "resolute",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/27d33621b3cdf22b1dc3e5383ac8549251d779f5362c4c0116236c5115985050",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/28448106079"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-30T13:39:56.000Z",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/791feaa94ae97d6b84415b8b6dfc10f3df0c4df387036dabfe42d3bceefd0774",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/28448106079"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-30T13:38:40.000Z",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/189a88226659a488c497d7e0ecd816489fbe07dd8b7305f0b61d4b113a71aeb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/28448106079"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-06-30T13:36:27.000Z",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/4a1b9aac57945b47441c207cec78796f64280b96ac83ccccf780cd3b28b5b3cc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/28448106079"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-30T13:34:54.000Z",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/b17b28710641849759fd664f86c5c2a1dccd880be53a77f051a797feee6a60f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/28448106079"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-30T13:34:51.000Z",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/128b66225878a8745a23169f5a6bdcb3cb9b34d4dbf26220c7d1a308b3eff420",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/28448106079"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-30T13:35:02.000Z",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/f7a17b64154b21594e5997b85bc362ce6e67eabecd9a8e94896770a71b997d70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/28448106079"
    }
  ]
}