{
  "_id": "6ac678efca1b382b34ef3def",
  "Package": "electedBR",
  "Title": "Brazilian Election Winners and Sitting Members of Congress",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"André\", \"Leite\", email = \"leite@castlab.org\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4718-9766\")),\nperson(\"Marcos\", \"Wasiliew\", email = \"marcos.wasiliew@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0009-0004-4694-3159\")),\nperson(\"Hugo\", \"Vasconcelos\", email = \"hugo.vasconcelos@ufpe.br\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-6249-0920\")),\nperson(\"Carlos\", \"Amorim\", email = \"carlos.agaf@ufpe.br\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-6315-8305\")),\nperson(\"Diogo\", \"Bezerra\", email = \"diogo.bezerra@ufpe.br\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-1216-8674\")),\nperson(\"Júlia\", \"Nascimento Barreto\", email = \"juliabarreto@gd.seplag.pe.gov.br\", role = \"aut\",\ncomment = c(ORCID = \"0009-0004-2851-7770\")))",
  "Description": "Retrieves the candidates elected in Brazilian municipal\nand general elections since 2018, consolidated from the open\ndata of the Superior Electoral Court (TSE,\n<https://dadosabertos.tse.jus.br/>) and distributed as yearly\nParquet files, together with the federal deputies and senators\ncurrently serving according to the open data APIs of the\nChamber of Deputies (<https://dadosabertos.camara.leg.br/>) and\nthe Federal Senate\n(<https://www12.senado.leg.br/dados-abertos>). Election results\nand current office holding are kept as distinct queries;\nelectoral roles, service history and provenance are preserved.\nEvery function returns a tibble with English column names and\nhas a Portuguese alias.",
  "License": "GPL-3",
  "URL": "https://github.com/StrategicProjects/electedBR,\nhttps://strategicprojects.github.io/electedBR/",
  "BugReports": "https://github.com/StrategicProjects/electedBR/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://strategicprojects.r-universe.dev",
  "Date/Publication": "2026-09-29 13:59:41 UTC",
  "RemoteUrl": "https://github.com/strategicprojects/electedbr",
  "RemoteRef": "HEAD",
  "RemoteSha": "e31b4d6f59817a9c2789d1981413249e885e7d33",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-07 16:49:36 UTC",
    "User": "root"
  },
  "Author": "André Leite [aut, cre] (ORCID: <https://orcid.org/0000-0002-4718-9766>),\nMarcos Wasiliew [aut] (ORCID: <https://orcid.org/0009-0004-4694-3159>),\nHugo Vasconcelos [aut] (ORCID: <https://orcid.org/0000-0001-6249-0920>),\nCarlos Amorim [aut] (ORCID: <https://orcid.org/0000-0001-6315-8305>),\nDiogo Bezerra [aut] (ORCID: <https://orcid.org/0000-0002-1216-8674>),\nJúlia Nascimento Barreto [aut] (ORCID:\n<https://orcid.org/0009-0004-2851-7770>)",
  "Maintainer": "André Leite <leite@castlab.org>",
  "_user": "strategicprojects",
  "_type": "src",
  "_file": "electedBR_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/37f40891d7fcc9e4311340e4d3cc1604205082bc9456906cbfc440cefb1e025e",
  "_filesize": 181864,
  "_sha256": "37f40891d7fcc9e4311340e4d3cc1604205082bc9456906cbfc440cefb1e025e",
  "_expires": "2027-01-15T16:53:01.000Z",
  "_created": "2026-10-07T16:49:36.000Z",
  "_published": "2026-10-07T16:53:03.495Z",
  "_buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/37654565846",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112908139258,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11498695469"
    },
    {
      "job": 112908139186,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11497449108"
    },
    {
      "job": 112908139192,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11497484454"
    },
    {
      "job": 112908139243,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11498535879"
    },
    {
      "job": 112906478620,
      "time": 224,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11498391779"
    },
    {
      "job": 112908139168,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11498078320"
    },
    {
      "job": 112908139310,
      "time": 64,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11497478936"
    },
    {
      "job": 112908139366,
      "time": 74,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11497843744"
    },
    {
      "job": 112908139190,
      "time": 78,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11498193170"
    }
  ],
  "_upstream": "https://github.com/strategicprojects/electedbr",
  "_commit": {
    "id": "e31b4d6f59817a9c2789d1981413249e885e7d33",
    "author": "André Leite <leite@de.ufpe.br>",
    "committer": "André Leite <leite@de.ufpe.br>",
    "message": "Spell the maintainer's name as André Leite\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n",
    "time": 1790690381
  },
  "_maintainer": {
    "name": "André Leite",
    "email": "leite@castlab.org",
    "orcid": "0000-0002-4718-9766"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "nanoparquet",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "strategicprojects",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-39",
      "n": 12
    },
    {
      "week": "2026-40",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "brazil",
    "elections",
    "open-data",
    "tse"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "milkway",
      "count": 5,
      "uuid": 7375849
    }
  ],
  "_userbio": {
    "uuid": 127886513,
    "type": "organization",
    "name": "Projetos Estratégicos",
    "followers": 14,
    "description": "Repositório de código da Assessoria Especial de Projetos Estratégicos."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/electedBR"
  },
  "_devurl": "https://github.com/strategicprojects/electedbr",
  "_pkgdown": "https://strategicprojects.github.io/electedBR/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/electedBR.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/strategicprojects/electedbr",
  "_realowner": "strategicprojects",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-10-06"
    }
  ],
  "_exports": [
    "consultar_deputados",
    "consultar_eleitos",
    "consultar_eventos_exercicio",
    "consultar_historico_exercicio",
    "consultar_prefeitos",
    "consultar_senadores",
    "consultar_vereadores",
    "diretorio_cache_eleitos",
    "elected_cache_dir",
    "elected_clear_cache",
    "get_councilors",
    "get_deputies",
    "get_elected",
    "get_mayors",
    "get_officeholding_events",
    "get_senators",
    "get_service_history",
    "limpar_cache_eleitos",
    "normalizar_eleitos",
    "normalize_elected"
  ],
  "_datasets": [
    {
      "name": "elected_years",
      "title": "Yearly files of elected candidates",
      "object": "elected_years",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "kind",
        "file",
        "url",
        "bytes",
        "md5",
        "rows",
        "built"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "elected_cache_dir",
      "title": "Cache directory",
      "topics": [
        "diretorio_cache_eleitos",
        "elected_cache_dir"
      ]
    },
    {
      "page": "elected_clear_cache",
      "title": "Remove cached files",
      "topics": [
        "elected_clear_cache",
        "limpar_cache_eleitos"
      ]
    },
    {
      "page": "elected_years",
      "title": "Yearly files of elected candidates",
      "topics": [
        "elected_years"
      ]
    },
    {
      "page": "get_deputies",
      "title": "Federal deputies and senators currently serving",
      "topics": [
        "consultar_deputados",
        "consultar_senadores",
        "get_deputies",
        "get_senators"
      ]
    },
    {
      "page": "get_elected",
      "title": "Candidates elected in Brazilian elections",
      "topics": [
        "consultar_eleitos",
        "consultar_prefeitos",
        "consultar_vereadores",
        "get_councilors",
        "get_elected",
        "get_mayors"
      ]
    },
    {
      "page": "get_officeholding_events",
      "title": "Office-holding events for elected officials",
      "topics": [
        "consultar_eventos_exercicio",
        "get_officeholding_events"
      ]
    },
    {
      "page": "get_service_history",
      "title": "Service history of a deputy or senator",
      "topics": [
        "consultar_historico_exercicio",
        "get_service_history"
      ]
    },
    {
      "page": "normalize_elected",
      "title": "Consolidate TSE files into the candidates elected",
      "topics": [
        "normalizar_eleitos",
        "normalize_elected"
      ]
    }
  ],
  "_pkglogo": "https://github.com/strategicprojects/electedbr/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/strategicprojects/electedbr/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr2",
    "lifecycle",
    "magrittr",
    "nanoparquet",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "electedBR.Rmd",
      "filename": "electedBR.html",
      "title": "Getting started with electedBR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Election results",
        "Who holds the office on a given date?",
        "Sitting members of Congress",
        "Provenance and caching"
      ],
      "created": "2026-09-25 18:53:08",
      "modified": "2026-09-25 19:38:20",
      "commits": 3
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "electedbr",
  "_universes": [
    "strategicprojects"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-07T16:51:56.000Z",
      "distro": "resolute",
      "commit": "e31b4d6f59817a9c2789d1981413249e885e7d33",
      "fileid": "https://r2.ropensci.org/347f22046c3111892610637d7ad81a1e664c64ee8718190da6baa7ce85e32b6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/37654565846"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-07T16:51:59.000Z",
      "distro": "resolute",
      "commit": "e31b4d6f59817a9c2789d1981413249e885e7d33",
      "fileid": "https://r2.ropensci.org/eb431605e76b748d44dc4c2d09e4b42128411252e0ffd50842d9d8638fb69ece",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/37654565846"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-07T16:51:16.000Z",
      "commit": "e31b4d6f59817a9c2789d1981413249e885e7d33",
      "fileid": "https://r2.ropensci.org/fedf3a93c45da18b90e2cda17f90dbfb1faca6703115a0de36818e6dec9374ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/37654565846"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-07T16:51:36.000Z",
      "commit": "e31b4d6f59817a9c2789d1981413249e885e7d33",
      "fileid": "https://r2.ropensci.org/0a88762da7c546c44e531dec7ee2eb5df19a9c033babcbe5f7099d495088a376",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/37654565846"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-07T16:51:32.000Z",
      "commit": "e31b4d6f59817a9c2789d1981413249e885e7d33",
      "fileid": "https://r2.ropensci.org/de373eb5df64de25c48c3e2a7e6b561d7e3d56e6d1de47ec0d1c6b47b8203362",
      "status": "success",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/37654565846"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-07T16:50:38.000Z",
      "commit": "e31b4d6f59817a9c2789d1981413249e885e7d33",
      "fileid": "https://r2.ropensci.org/c98809b878c925a4f41c95194153c1d18603ae43befdbe1c1cdc34b87c5ee2f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/37654565846"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-07T16:50:43.000Z",
      "commit": "e31b4d6f59817a9c2789d1981413249e885e7d33",
      "fileid": "https://r2.ropensci.org/4c3884b6addae040feaed917e463362296fe9ec39d09f2b98294b3426cc6358c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/37654565846"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-07T16:50:45.000Z",
      "commit": "e31b4d6f59817a9c2789d1981413249e885e7d33",
      "fileid": "https://r2.ropensci.org/b19c9706859c7191b300aeb97eabfa68ed565746048151a1e8c8e9d213b17740",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/37654565846"
    }
  ]
}