{
  "_id": "6a10156aacfb0bcc41c84138",
  "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\"))",
  "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-04-29 09:33:46 UTC",
  "RemoteUrl": "https://github.com/rOpenSpain/infoelectoral",
  "RemoteRef": "HEAD",
  "RemoteSha": "6c0c1bc5cb45f053c9b1cc85dd3849fea14297f3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 09:39:58 UTC",
    "User": "root"
  },
  "Author": "Héctor Meleiro [aut, cre]",
  "MD5sum": "db808f32ce7c2f60b714ce9feb5f7684",
  "_user": "ropenspain",
  "_type": "src",
  "_file": "infoelectoral_1.0.3.tar.gz",
  "_fileid": "64dd74cce87324588630316a2d548591711c094d8a55dcae22aa6a447687e955",
  "_filesize": 489683,
  "_sha256": "64dd74cce87324588630316a2d548591711c094d8a55dcae22aa6a447687e955",
  "_created": "2026-05-14T09:39:58.000Z",
  "_published": "2026-05-22T08:35:54.219Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77344800846,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6991557665"
    },
    {
      "job": 77344801416,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991558206"
    },
    {
      "job": 77344800994,
      "time": 95,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6991542411"
    },
    {
      "job": 77344801235,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7010984629"
    },
    {
      "job": 77344800771,
      "time": 303,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991516608"
    },
    {
      "job": 77344800422,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156281179"
    },
    {
      "job": 77344800660,
      "time": 140,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6991554200"
    },
    {
      "job": 77344801217,
      "time": 93,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6991542352"
    },
    {
      "job": 77344801963,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991543506"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropenspain/actions/runs/25852889681",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rOpenSpain/infoelectoral",
  "_commit": {
    "id": "6c0c1bc5cb45f053c9b1cc85dd3849fea14297f3",
    "author": "Meleiro <hmeleiros@gmail.com>",
    "committer": "Meleiro <hmeleiros@gmail.com>",
    "message": "Add CRAN install docs\n",
    "time": 1777455226
  },
  "_maintainer": {
    "name": "Héctor Meleiro",
    "email": "hmeleiros@gmail.com",
    "login": "hmeleiro",
    "twitter": "@hmeleiros",
    "uuid": 29704914
  },
  "_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
    }
  ],
  "_tags": [],
  "_topics": [
    "data",
    "elecciones",
    "elections",
    "electoral",
    "infoelectoral",
    "spain"
  ],
  "_stars": 31,
  "_contributors": [
    {
      "user": "hmeleiro",
      "count": 96,
      "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",
    "description": "rOpenSci is our form, Spanish public data our matter"
  },
  "_downloads": {
    "count": 238,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/infoelectoral"
  },
  "_devurl": "https://github.com/ropenspain/infoelectoral",
  "_searchresults": 14,
  "_rbuild": "4.6.0",
  "_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.415640979896154,
  "_indexed": true,
  "_nocasepkg": "infoelectoral",
  "_universes": [
    "ropenspain",
    "hmeleiro"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-14T09:42:29.000Z",
      "distro": "noble",
      "commit": "6c0c1bc5cb45f053c9b1cc85dd3849fea14297f3",
      "fileid": "c5fc43212d4bf1f67cdc1ff32b152bfc6d7f3feaee37912c9319d3a091770eaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/25852889681"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-14T09:42:32.000Z",
      "distro": "noble",
      "commit": "6c0c1bc5cb45f053c9b1cc85dd3849fea14297f3",
      "fileid": "e45075965e4b9fc7513df4f949ec8b19044242c04cc241b7a50462341cd470b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/25852889681"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-14T09:41:38.000Z",
      "commit": "6c0c1bc5cb45f053c9b1cc85dd3849fea14297f3",
      "fileid": "358b33fbcbc172d49549e40372967ac9772e79b91def6f407f41da4165b52712",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/25852889681"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-15T05:54:06.000Z",
      "commit": "6c0c1bc5cb45f053c9b1cc85dd3849fea14297f3",
      "fileid": "16d7e0e3573b58ffa2ae46f29d8669604d3b512c97896bfd068bf0cc628de4d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/25852889681"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-14T09:42:11.000Z",
      "commit": "6c0c1bc5cb45f053c9b1cc85dd3849fea14297f3",
      "fileid": "119dd802a2ee4744c84b1d920aa60a8766cd3532a3ffcc352fe9aa5aa98ece96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/25852889681"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-14T09:41:26.000Z",
      "commit": "6c0c1bc5cb45f053c9b1cc85dd3849fea14297f3",
      "fileid": "7de0667e15a4359e7901827e647209ff4046ece9869fe8daa6a8c1d76ee8f287",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/25852889681"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-14T09:41:31.000Z",
      "commit": "6c0c1bc5cb45f053c9b1cc85dd3849fea14297f3",
      "fileid": "0679888d94f957d17f92467e4a8ee5a08ee4a2f5de458fe9f4d59488ff84a0d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/25852889681"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-05-22T08:35:31.000Z",
      "commit": "6c0c1bc5cb45f053c9b1cc85dd3849fea14297f3",
      "fileid": "ff2eabbebda95ef1a39e3a751a0937afeef74a1fbd8edd26b40efb98df60d812",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/25852889681"
    }
  ]
}