{
  "_id": "6ae44b3f8d250e7ad09f131f",
  "Encoding": "UTF-8",
  "Type": "Package",
  "Package": "agregR",
  "Authors@R": "person(\"Rafael N.\", \"Magalhães\", email = \"rnunesmagalhaes@gmail.com\", role = c(\"aut\", \"cre\"))",
  "URL": "https://rnmag.github.io/agregR/, https://github.com/rnmag/agregR",
  "Title": "Bayesian State-Space Aggregation of Brazilian Presidential Polls",
  "Description": "A set of dynamic measurement models to estimate latent\nvote shares from noisy polling sources. The models build on\nJackman (2009, ISBN: 9780470011546) and feature specialized\nmethods for bias adjustment based on past performance and\ncorrection for asymmetric errors based on candidate political\nalignment.",
  "Version": "1.0.4.9000",
  "Additional_repositories": "https://stan-dev.r-universe.dev",
  "SystemRequirements": "CmdStan\n(https://mc-stan.org/users/interfaces/cmdstan)",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "License": "MIT + file LICENSE",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "cmake libfontconfig1-dev libfreetype6-dev\nlibfribidi-dev make libharfbuzz-dev libicu-dev libjpeg-dev\nlibpng-dev libtiff-dev libuv1-dev libwebp-dev libx11-dev\nzlib1g-dev",
  "Repository": "https://rnmag.r-universe.dev",
  "Date/Publication": "2026-10-29 14:10:20 UTC",
  "RemoteUrl": "https://github.com/rnmag/agregr",
  "RemoteRef": "HEAD",
  "RemoteSha": "21eb6130801eaf301833173f55f5fdc3077440a2",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-29 17:30:40 UTC",
    "User": "root"
  },
  "Author": "Rafael N. Magalhães [aut, cre]",
  "Maintainer": "Rafael N. Magalhães <rnunesmagalhaes@gmail.com>",
  "_user": "rnmag",
  "_type": "src",
  "_file": "agregR_1.0.4.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/410467d19f329b175075fb7cca71595e45378a3d862237e4376ca6727eaa462b",
  "_filesize": 5414252,
  "_sha256": "410467d19f329b175075fb7cca71595e45378a3d862237e4376ca6727eaa462b",
  "_expires": "2027-02-06T18:11:10.000Z",
  "_created": "2026-10-29T17:30:40.000Z",
  "_published": "2026-10-30T07:46:07.407Z",
  "_upstream": "https://github.com/rnmag/agregr",
  "_status": "success",
  "_maintainer": {
    "name": "Rafael N. Magalhães",
    "email": "rnunesmagalhaes@gmail.com",
    "login": "rnmag",
    "description": "",
    "uuid": 1709532
  },
  "_jobs": [
    {
      "job": 123946687577,
      "time": 397,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12919112620"
    },
    {
      "job": 123946687199,
      "time": 502,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12919013025"
    },
    {
      "job": 123946687924,
      "time": 423,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12918822532"
    },
    {
      "job": 123946687242,
      "time": 495,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12920065595"
    },
    {
      "job": 123946685766,
      "time": 386,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12961639484"
    },
    {
      "job": 123946687968,
      "time": 953,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12921461223"
    },
    {
      "job": 123946686972,
      "time": 339,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12920822286"
    },
    {
      "job": 123946687441,
      "time": 977,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12921706347"
    },
    {
      "job": 123946686985,
      "time": 354,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12918826596"
    },
    {
      "job": 123946685549,
      "time": 272,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 123946687686,
      "time": 645,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "12918738919"
    },
    {
      "job": 123946687036,
      "time": 801,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12920330654"
    },
    {
      "job": 123946687781,
      "time": 582,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12919397082"
    },
    {
      "job": 123946688022,
      "time": 751,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12918584471"
    },
    {
      "job": 123946687916,
      "time": 613,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12919492625"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499",
  "_commit": {
    "id": "21eb6130801eaf301833173f55f5fdc3077440a2",
    "author": "Rafael Magalhães <rnunesmagalhaes@gmail.com>",
    "committer": "Rafael Magalhães <rnunesmagalhaes@gmail.com>",
    "message": "end date for 2nd round simulation\n",
    "time": 1793283020
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "ggdist",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "instantiate",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "ragg",
      "role": "Imports"
    },
    {
      "package": "sysfonts",
      "role": "Imports"
    },
    {
      "package": "showtext",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "systemfonts",
      "role": "Imports"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "cmdstanr",
      "version": ">= 0.5.0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "rnmag",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-05",
      "n": 41
    },
    {
      "week": "2026-06",
      "n": 27
    },
    {
      "week": "2026-07",
      "n": 36
    },
    {
      "week": "2026-08",
      "n": 13
    },
    {
      "week": "2026-09",
      "n": 5
    },
    {
      "week": "2026-10",
      "n": 8
    },
    {
      "week": "2026-11",
      "n": 4
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 7
    },
    {
      "week": "2026-20",
      "n": 2
    },
    {
      "week": "2026-21",
      "n": 4
    },
    {
      "week": "2026-22",
      "n": 2
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 5
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 1
    },
    {
      "week": "2026-29",
      "n": 2
    },
    {
      "week": "2026-31",
      "n": 10
    },
    {
      "week": "2026-32",
      "n": 3
    },
    {
      "week": "2026-33",
      "n": 46
    },
    {
      "week": "2026-34",
      "n": 22
    },
    {
      "week": "2026-35",
      "n": 1
    },
    {
      "week": "2026-36",
      "n": 8
    },
    {
      "week": "2026-37",
      "n": 7
    },
    {
      "week": "2026-38",
      "n": 8
    },
    {
      "week": "2026-39",
      "n": 5
    },
    {
      "week": "2026-40",
      "n": 8
    },
    {
      "week": "2026-41",
      "n": 9
    },
    {
      "week": "2026-42",
      "n": 5
    },
    {
      "week": "2026-43",
      "n": 9
    },
    {
      "week": "2026-44",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-02-11"
    },
    {
      "name": "v1.0.1",
      "date": "2026-02-17"
    },
    {
      "name": "v1.0.3",
      "date": "2026-03-06"
    },
    {
      "name": "v1.0.4",
      "date": "2026-08-21"
    }
  ],
  "_topics": [
    "bayesian-inference",
    "cmdstan",
    "stan",
    "state-space-models",
    "time-series"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "rnmag",
      "count": 313,
      "uuid": 1709532
    }
  ],
  "_userbio": {
    "uuid": 1709532,
    "type": "user",
    "name": "Rafael N. Magalhães",
    "followers": 8
  },
  "_downloads": {
    "count": 343,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/agregR"
  },
  "_devurl": "https://github.com/rnmag/agregr",
  "_pkgdown": "https://rnmag.github.io/agregR/",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/agregR.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/rnmag/agregr",
  "_realowner": "rnmag",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.3",
      "date": "2026-03-06"
    },
    {
      "version": "1.0.4",
      "date": "2026-08-21"
    }
  ],
  "_exports": [
    "configurar_agregador",
    "configurar_grafico",
    "configurar_prioris",
    "grafico_agregador",
    "grafico_priori_posteriori",
    "grafico_vies",
    "rodar_agregador"
  ],
  "_datasets": [
    {
      "name": "historico_pesquisas_poder360",
      "title": "Historical Polls by Poder360",
      "object": "historico_pesquisas_poder360",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id_pesquisa",
        "ano",
        "sigla_uf",
        "nome_municipio",
        "cargo",
        "data",
        "data_referencia",
        "instituto",
        "contratante",
        "orgao_registro",
        "numero_registro",
        "quantidade_entrevistas",
        "margem_mais",
        "margem_menos",
        "tipo",
        "turno",
        "tipo_voto",
        "id_cenario",
        "descricao_cenario",
        "id_candidato_poder360",
        "nome_candidato",
        "sigla_partido",
        "condicao",
        "percentual"
      ],
      "rows": 166292,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "configurar_agregador",
      "title": "Configuration function for Poll Aggregator",
      "topics": [
        "configurar_agregador"
      ]
    },
    {
      "page": "configurar_grafico",
      "title": "Configuration for Graphics",
      "topics": [
        "configurar_grafico"
      ]
    },
    {
      "page": "configurar_prioris",
      "title": "Configuration for Statistical Models",
      "topics": [
        "configurar_prioris"
      ]
    },
    {
      "page": "grafico_agregador",
      "title": "Plot Aggregator Results",
      "topics": [
        "grafico_agregador"
      ]
    },
    {
      "page": "grafico_priori_posteriori",
      "title": "Plot Prior vs Posterior",
      "topics": [
        "grafico_priori_posteriori"
      ]
    },
    {
      "page": "grafico_vies",
      "title": "Plot Institute Bias",
      "topics": [
        "grafico_vies"
      ]
    },
    {
      "page": "historico_pesquisas_poder360",
      "title": "Historical Polls by Poder360",
      "topics": [
        "historico_pesquisas_poder360"
      ]
    },
    {
      "page": "rodar_agregador",
      "title": "Run Poll Aggregator",
      "topics": [
        "rodar_agregador"
      ]
    }
  ],
  "_pkglogo": "https://github.com/rnmag/agregr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/rnmag/agregr/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bit",
    "bit64",
    "callr",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "distributional",
    "dplyr",
    "farver",
    "fs",
    "generics",
    "ggdist",
    "ggplot2",
    "ggrepel",
    "glue",
    "gtable",
    "hms",
    "instantiate",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "lubridate",
    "magrittr",
    "numDeriv",
    "otel",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "processx",
    "progress",
    "ps",
    "purrr",
    "quadprog",
    "R6",
    "ragg",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "rlang",
    "S7",
    "scales",
    "showtext",
    "showtextdb",
    "stringi",
    "stringr",
    "sysfonts",
    "systemfonts",
    "textshaping",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_score": 4.845098040014257,
  "_indexed": true,
  "_nocasepkg": "agregr",
  "_universes": [
    "rnmag"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4.9000",
      "date": "2026-10-21T00:58:56.000Z",
      "arch": "emscripten",
      "commit": "ef78fb40705316673822682e77a35ce4678536c7",
      "fileid": "https://r2.ropensci.org/2ca4ff17d667506bf3a89e20987a667a303f31ca1f9dc7ff76a6a619d2a25942",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/39523758649"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-10-29T17:36:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/f0b6753b3560035ab9aacc7a59f929df9a007c45c7c7435f38afd25e39a7fff8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-10-29T17:37:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/987e20166d73a5ae5ac534a00d9132d5dafab4f533cfd01600d8b8c3564fa0ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-10-29T17:37:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/535a3689f08d1f7ebd0086e0a710b0f4c548631821ac4891ce322e35e047f6f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-10-29T17:37:18.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/34085fab73a0a582b0547c0bd2c9818cab69c7575fcdc100723c4e482137e19b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-10-30T07:42:16.000Z",
      "arch": "aarch64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/128e966a64881c40c59897008237f7cd15befb835dc4578b454c64dc6992c3db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-10-29T17:58:18.000Z",
      "arch": "x86_64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/52376e8db9af5035e170be8344ec7143e22e8514b5bd954054f91b2ff9ab85e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-10-29T18:04:16.000Z",
      "arch": "aarch64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/a2ab7497435415029d975d8c5a15fd3f07480c0c7852c9471d30b3cc412f4955",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-10-29T18:02:10.000Z",
      "arch": "x86_64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/75476a949cf420615fc3d4778e93071b2f4f6b6d6b1b84fd8ba7b1b8067edae6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-10-29T17:38:09.000Z",
      "arch": "aarch64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/a63513c09ead1fff4ef7513eec485b2ee12499e3fd056d68b051d73a56feee00",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-10-29T17:38:36.000Z",
      "arch": "x86_64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/ebfbe5724ca56daeb10d491443a03aca1b7552ed0d00b8328f963df5ad7c9ff0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-10-29T17:37:14.000Z",
      "arch": "x86_64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/b3bb0928a4032e8c2fab655e4b94dcb6b4db5a5706065d2a5b8f00181b5153e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-10-29T17:38:57.000Z",
      "arch": "aarch64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/cb9174458df596b2bda3009f2137566b9dbd258684e088240d01110bb7602f95",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-10-29T17:37:29.000Z",
      "arch": "x86_64",
      "commit": "21eb6130801eaf301833173f55f5fdc3077440a2",
      "fileid": "https://r2.ropensci.org/b8223f0dd946bf09e79f7eb6fd5350110e64b67dd352f2147eba10a57421ca8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rnmag/actions/runs/40921342499"
    }
  ]
}