{
  "_id": "6a200ed2b401979e734483dd",
  "Package": "electionsBR",
  "Type": "Package",
  "Title": "R Functions to Download and Clean Brazilian Electoral Data",
  "Version": "0.5.1",
  "Authors@R": "c(\nperson(\"Denisson\", \"Silva\", , \"denissoncsol@gmail.com\", c(\"aut\", \"cre\")),\nperson(\"Fernando\", \"Meireles\", , \"fmeireles@ufmg.br\", \"aut\"),\nperson(\"Beatriz\", \"Costa\", ,\"bea.s.costa@gmail.com\", \"ctb\")\n)",
  "Description": "Offers a set of functions to easily download and clean\nBrazilian electoral data from the Superior Electoral Court and\n'CepespData' websites. Among other features, the package\nretrieves data on local and federal elections for all positions\n(city councilor, mayor, state deputy, federal deputy, governor,\nand president) aggregated by state, city, and electoral zones.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "URL": "https://electionsbr.com/novo/",
  "BugReports": "https://github.com/silvadenisson/electionsBR/issues",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev\nlibx11-dev zlib1g-dev",
  "Repository": "https://silvadenisson.r-universe.dev",
  "Date/Publication": "2025-09-06 00:02:04 UTC",
  "RemoteUrl": "https://github.com/silvadenisson/electionsbr",
  "RemoteRef": "HEAD",
  "RemoteSha": "1fad9ebe33ed25f385eb25b667b20273d18e5b03",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 11:20:07 UTC",
    "User": "root"
  },
  "Author": "Denisson Silva [aut, cre],\nFernando Meireles [aut],\nBeatriz Costa [ctb]",
  "Maintainer": "Denisson Silva <denissoncsol@gmail.com>",
  "MD5sum": "4fdfd898480d5ed5a5e98cda2367030e",
  "_user": "silvadenisson",
  "_type": "src",
  "_file": "electionsBR_0.5.1.tar.gz",
  "_fileid": "6e2f7411e7227d89858d2baa516608298123302ff4e5103b46cb4cd2f08c1d4d",
  "_filesize": 202866,
  "_sha256": "6e2f7411e7227d89858d2baa516608298123302ff4e5103b46cb4cd2f08c1d4d",
  "_created": "2026-06-03T11:20:07.000Z",
  "_published": "2026-06-03T11:24:02.751Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79282077056,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7383164868"
    },
    {
      "job": 79282077143,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7383168844"
    },
    {
      "job": 79282077113,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7383164045"
    },
    {
      "job": 79282077063,
      "time": 199,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7383170125"
    },
    {
      "job": 79281463276,
      "time": 225,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7383116520"
    },
    {
      "job": 79282077163,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7383154790"
    },
    {
      "job": 79282077119,
      "time": 132,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7383161701"
    },
    {
      "job": 79282077248,
      "time": 121,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7383158164"
    },
    {
      "job": 79282077278,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7383156471"
    }
  ],
  "_buildurl": "https://github.com/r-universe/silvadenisson/actions/runs/26881200992",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/silvadenisson/electionsbr",
  "_commit": {
    "id": "1fad9ebe33ed25f385eb25b667b20273d18e5b03",
    "author": "Denisson Silva <denisson@denissonsilva.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update utils.R",
    "time": 1757116924
  },
  "_maintainer": {
    "name": "Denisson Silva",
    "email": "denissoncsol@gmail.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.2",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.9.8",
      "role": "Imports"
    },
    {
      "package": "haven",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "osfr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "silvadenisson",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 4
    },
    {
      "week": "2025-25",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "electionsbr",
      "date": "2025-06-11"
    }
  ],
  "_stars": 77,
  "_contributors": [
    {
      "user": "silvadenisson",
      "count": 214,
      "uuid": 8369231
    },
    {
      "user": "meirelesff",
      "count": 51,
      "uuid": 7398390
    },
    {
      "user": "willbernascimento",
      "count": 9,
      "uuid": 7853382
    },
    {
      "user": "ianaraujo",
      "count": 4,
      "uuid": 56162420
    },
    {
      "user": "duarteguilherme",
      "count": 1,
      "uuid": 5980473
    }
  ],
  "_userbio": {
    "uuid": 8369231,
    "type": "user",
    "name": "Denisson Silva",
    "description": "Doutor em Ciência Política - UFMG; Mestre em Sociologia e Graduado em Ciências Sociais Licenciatura - UFAL."
  },
  "_downloads": {
    "count": 738,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/electionsBR"
  },
  "_devurl": "https://github.com/silvadenisson/electionsbr",
  "_searchresults": 65,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/electionsBR.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/silvadenisson/electionsbr",
  "_realowner": "silvadenisson",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2016-08-18"
    },
    {
      "version": "0.2.0",
      "date": "2016-12-13"
    },
    {
      "version": "0.3.0",
      "date": "2017-06-06"
    },
    {
      "version": "0.3.1",
      "date": "2019-07-09"
    },
    {
      "version": "0.3.2",
      "date": "2021-01-30"
    },
    {
      "version": "0.4.0",
      "date": "2024-02-05"
    },
    {
      "version": "0.5.0",
      "date": "2024-11-17"
    }
  ],
  "_exports": [
    "%>%",
    "candidate_fed",
    "candidate_local",
    "compatibility_code",
    "details_mun_zone_fed",
    "details_mun_zone_local",
    "elections_cepesp",
    "elections_osf",
    "elections_tse",
    "legend_fed",
    "legend_local",
    "parties_br",
    "party_mun_zone_fed",
    "party_mun_zone_local",
    "personal_finances_fed",
    "personal_finances_local",
    "seats_fed",
    "seats_local",
    "uf_br",
    "vote_mun_zone_fed",
    "vote_mun_zone_local",
    "vote_section_fed",
    "vote_section_local"
  ],
  "_help": [
    {
      "page": "electionsBR-package",
      "title": "R functions to download and clean Brazilian electoral Data",
      "topics": [
        "electionsBR-package",
        "electionsBR"
      ]
    },
    {
      "page": "candidate",
      "title": "Download data on the candidates' backgrounds in elections",
      "topics": [
        "candidate"
      ]
    },
    {
      "page": "candidate_add_infor",
      "title": "Downloads data on the candidates - Addtional information",
      "topics": [
        "candidate_add_infor"
      ]
    },
    {
      "page": "candidate_fed",
      "title": "Download data on the candidates' background in federal elections",
      "topics": [
        "candidate_fed"
      ]
    },
    {
      "page": "candidate_local",
      "title": "Download data on the candidates' background in local elections",
      "topics": [
        "candidate_local"
      ]
    },
    {
      "page": "compatibility_code",
      "title": "Function for downloading compatibility codes with data from various public institutions, such as TSE, IBGE and Central Bank., by backup salve in platform OSF.",
      "topics": [
        "compatibility_code"
      ]
    },
    {
      "page": "details_mun_zone",
      "title": "Download data on the verification of federal elections in Brazil",
      "topics": [
        "details_mun_zone"
      ]
    },
    {
      "page": "details_mun_zone_fed",
      "title": "Download data on the verification of federal elections in Brazil",
      "topics": [
        "details_mun_zone_fed"
      ]
    },
    {
      "page": "details_mun_zone_local",
      "title": "Download data on the verification of local elections in Brazil",
      "topics": [
        "details_mun_zone_local"
      ]
    },
    {
      "page": "elections_cepesp",
      "title": "Retrieve electoral data from the cepesp API.",
      "topics": [
        "elections_cepesp"
      ]
    },
    {
      "page": "elections_osf",
      "title": "Function for downloading electoral data from the TSE repository, by backup salve in platform OSF.",
      "topics": [
        "elections_osf"
      ]
    },
    {
      "page": "elections_rda",
      "title": "Download data on the candidates' background in local elections",
      "topics": [
        "elections_rda"
      ]
    },
    {
      "page": "elections_tse",
      "title": "Function for downloading electoral data from the TSE repository",
      "topics": [
        "elections_tse"
      ]
    },
    {
      "page": "legend_fed",
      "title": "Download data on federal election coalitions in Brazil",
      "topics": [
        "legend_fed"
      ]
    },
    {
      "page": "legend_local",
      "title": "Download data on local election coalitions in Brazil",
      "topics": [
        "legend_local"
      ]
    },
    {
      "page": "legends",
      "title": "Download data on federal election coalitions in Brazil",
      "topics": [
        "legends"
      ]
    },
    {
      "page": "parties_br",
      "title": "Returns a vector with the abbreviations of all Brazilian parties",
      "topics": [
        "parties_br"
      ]
    },
    {
      "page": "party_mun_zone",
      "title": "Download data on the polls by parties from federal elections in Brazil",
      "topics": [
        "party_mun_zone"
      ]
    },
    {
      "page": "party_mun_zone_fed",
      "title": "Download data on the polls by parties from federal elections in Brazil",
      "topics": [
        "party_mun_zone_fed"
      ]
    },
    {
      "page": "party_mun_zone_local",
      "title": "Download data on the polls by parties from local elections in Brazil",
      "topics": [
        "party_mun_zone_local"
      ]
    },
    {
      "page": "personal_finances",
      "title": "Download data on federal candidates' personal financial disclosures",
      "topics": [
        "personal_finances"
      ]
    },
    {
      "page": "personal_finances_fed",
      "title": "Download data on federal candidates' personal financial disclosures",
      "topics": [
        "personal_finances_fed"
      ]
    },
    {
      "page": "personal_finances_local",
      "title": "Download data on local candidates' personal financial disclosures",
      "topics": [
        "personal_finances_local"
      ]
    },
    {
      "page": "seats",
      "title": "Download data on the number of seats under dispute in federal elections",
      "topics": [
        "seats"
      ]
    },
    {
      "page": "seats_fed",
      "title": "Download data on the number of seats under dispute in federal elections",
      "topics": [
        "seats_fed"
      ]
    },
    {
      "page": "seats_local",
      "title": "Download data on the number of seats under dispute in local elections",
      "topics": [
        "seats_local"
      ]
    },
    {
      "page": "social_media",
      "title": "Download data on the candidates' social media links in federal elections",
      "topics": [
        "social_media"
      ]
    },
    {
      "page": "uf_br",
      "title": "Returns a vector with the abbreviations of all Brazilian states",
      "topics": [
        "uf_br"
      ]
    },
    {
      "page": "vote_mun_zone",
      "title": "Download data on candidate electoral results in federal elections in Brazil",
      "topics": [
        "vote_mun_zone"
      ]
    },
    {
      "page": "vote_mun_zone_fed",
      "title": "Download data on candidate electoral results in federal elections in Brazil",
      "topics": [
        "vote_mun_zone_fed"
      ]
    },
    {
      "page": "vote_mun_zone_local",
      "title": "Download data on candidate electoral results in local elections in Brazil",
      "topics": [
        "vote_mun_zone_local"
      ]
    },
    {
      "page": "vote_section",
      "title": "Download data on candidate electoral results in federal elections in Brazil by electoral section",
      "topics": [
        "vote_section"
      ]
    },
    {
      "page": "vote_section_fed",
      "title": "Download data on candidate electoral results in federal elections in Brazil by electoral section",
      "topics": [
        "vote_section_fed"
      ]
    },
    {
      "page": "vote_section_local",
      "title": "Download data on candidate electoral results in local elections in Brazil by electoral section",
      "topics": [
        "vote_section_local"
      ]
    },
    {
      "page": "voter_profile",
      "title": "Download data on the voters' profile",
      "topics": [
        "voter_profile"
      ]
    },
    {
      "page": "voter_profile_by_section",
      "title": "Download data on the voters' profile by vote section",
      "topics": [
        "voter_profile_by_section"
      ]
    }
  ],
  "_readme": "https://github.com/silvadenisson/electionsbr/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "bit",
    "bit64",
    "cachem",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "crul",
    "curl",
    "data.table",
    "dplyr",
    "fastmap",
    "forcats",
    "fs",
    "generics",
    "glue",
    "haven",
    "hms",
    "httpcode",
    "httr",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "openssl",
    "osfr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "Rcpp",
    "readr",
    "rlang",
    "stringi",
    "sys",
    "tibble",
    "tidyselect",
    "triebeard",
    "tzdb",
    "urltools",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to the electionsBR package",
      "author": "Fernando Meireles, Denisson Silva, Beatriz Costa",
      "engine": "knitr::rmarkdown",
      "headings": [
        "How to install",
        "Usage",
        "Different types of electoral data",
        "CEPESP Data Integration",
        "Other functionality",
        "Exporting Brazilian electoral data",
        "Removing UTF-8 special characters from texts",
        "Filtering results by state",
        "How Elections in Brazil Work",
        "Official documentation",
        "Disclaimer",
        "How to cite"
      ],
      "created": "2017-05-09 17:14:33",
      "modified": "2024-11-17 23:14:27",
      "commits": 18
    }
  ],
  "_score": 7.477555332198982,
  "_indexed": true,
  "_nocasepkg": "electionsbr",
  "_universes": [
    "silvadenisson"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-06-03T11:22:29.000Z",
      "distro": "noble",
      "commit": "1fad9ebe33ed25f385eb25b667b20273d18e5b03",
      "fileid": "cf91da84ca997d23e6c19aece22adc5bf937a0798245d4cc5dab6b886df07560",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvadenisson/actions/runs/26881200992"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-06-03T11:22:39.000Z",
      "distro": "noble",
      "commit": "1fad9ebe33ed25f385eb25b667b20273d18e5b03",
      "fileid": "41d15ae37589500e675b8ebe582f29c8129d01254b05dca7b450f554fd9c283c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvadenisson/actions/runs/26881200992"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.1",
      "date": "2026-06-03T11:22:33.000Z",
      "commit": "1fad9ebe33ed25f385eb25b667b20273d18e5b03",
      "fileid": "ba09a4bb56707cd01fe193c4abb3d8376f754f5e607ba06d7525e0c4222cacad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvadenisson/actions/runs/26881200992"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.1",
      "date": "2026-06-03T11:22:36.000Z",
      "commit": "1fad9ebe33ed25f385eb25b667b20273d18e5b03",
      "fileid": "631d95be2a6d544a775a794bccdc366e0fbecb35cd4569a231b85a78d9e36b8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvadenisson/actions/runs/26881200992"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.1",
      "date": "2026-06-03T11:22:21.000Z",
      "commit": "1fad9ebe33ed25f385eb25b667b20273d18e5b03",
      "fileid": "00310a1457b82d88fbb7f6a562cd8c8b6ceb26820a1cb30bcff3420566c64a51",
      "status": "success",
      "buildurl": "https://github.com/r-universe/silvadenisson/actions/runs/26881200992"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-06-03T11:22:06.000Z",
      "commit": "1fad9ebe33ed25f385eb25b667b20273d18e5b03",
      "fileid": "4a1a831b7bccece002ec065dd951c181c3f947ce05c861c0306027b1d0682b04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvadenisson/actions/runs/26881200992"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-06-03T11:22:03.000Z",
      "commit": "1fad9ebe33ed25f385eb25b667b20273d18e5b03",
      "fileid": "1e2fc6c335652de97142027fbb6214c8c833e54d004882823bf07aa769b65fce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvadenisson/actions/runs/26881200992"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-06-03T11:21:58.000Z",
      "commit": "1fad9ebe33ed25f385eb25b667b20273d18e5b03",
      "fileid": "d1220bbad4ad96ed5ea707fdba4cdc3aecc9e228fa18ed018437ae781a684102",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/silvadenisson/actions/runs/26881200992"
    }
  ]
}