{
  "_id": "6aba1ef499f7aa8c6aa3cb1e",
  "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-09-28 07:30:08 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/cb49a4bb9bd6572cb88d5019239d4b436148b886d7a0eb5f9ee6923258bf9f5d",
  "_filesize": 491374,
  "_sha256": "cb49a4bb9bd6572cb88d5019239d4b436148b886d7a0eb5f9ee6923258bf9f5d",
  "_expires": "2027-01-06T08:01:54.000Z",
  "_created": "2026-09-28T07:30:08.000Z",
  "_published": "2026-09-28T08:01:56.591Z",
  "_jobs": [
    {
      "job": 108829758415,
      "time": 197,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10956876338"
    },
    {
      "job": 108829758602,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10956995748"
    },
    {
      "job": 108829758462,
      "time": 119,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10957198242"
    },
    {
      "job": 108829758348,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10957633516"
    },
    {
      "job": 108828699907,
      "time": 225,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10955514786"
    },
    {
      "job": 108829758423,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10956539090"
    },
    {
      "job": 108829758468,
      "time": 130,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10956083987"
    },
    {
      "job": 108829758393,
      "time": 83,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10956504093"
    },
    {
      "job": 108829758460,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10956123988"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ropenspain/actions/runs/36391648535",
  "_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 data enthusiast. I like politics, survey analysis, web scraping, data visualization and open data.",
    "uuid": 29704914,
    "orcid": "0009-0003-4468-2197"
  },
  "_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": 85,
    "description": "rOpenSci is our form, Spanish public data our matter"
  },
  "_downloads": {
    "count": 366,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/infoelectoral"
  },
  "_devurl": "https://github.com/ropenspain/infoelectoral",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/infoelectoral.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.4593924877592315,
  "_indexed": true,
  "_nocasepkg": "infoelectoral",
  "_universes": [
    "ropenspain",
    "hmeleiro"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-09-28T07:33:30.000Z",
      "distro": "resolute",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/4c3bc1d8c65723b0b66a3d65eafaed2584f47bdaddda26ed94f1be1c291fbb63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/36391648535"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-09-28T07:32:52.000Z",
      "distro": "resolute",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/bff468e3238b4800bb110e7b62aecac12422cac20292ab667e9dc5aa5bfef3b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/36391648535"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-09-28T08:01:06.000Z",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/86338e4b968e7ebd2fd8fb2036e0ccf69844ea20dde81594f359187fe25adaae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/36391648535"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-09-28T07:59:12.000Z",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/9c9a6f542be6aae3f84e2226fc7180e23751ef56da16d558166815952f89d859",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/36391648535"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-09-28T07:32:36.000Z",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/1f876be53afe35553818b5867208459597f07cea3250f6a1b3098b9eb4f7f4b4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/36391648535"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-09-28T07:32:12.000Z",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/b609db062cb144d6657dd4881bbc10d5d4a6e2affca9690a3083f1ce336696c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/36391648535"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-09-28T07:31:27.000Z",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/d0b6897789d37dd08d3cbfae06883961b4ac2943299b7a570283e1f78d9dbe49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/36391648535"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-09-28T07:31:27.000Z",
      "commit": "c973c880324d1e4a7766478dfb42278fb52e22d1",
      "fileid": "https://r2.ropensci.org/16348fce43ee4c545e3ca8747924c8a5f0d1dd389b59528e66cc08c2e1deb346",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/36391648535"
    }
  ]
}