{
  "_id": "6a102f38acfb0bcc41c94cb4",
  "Package": "idealstan",
  "Type": "Package",
  "Title": "Robust Measurement with 'Stan'",
  "Version": "1.0",
  "Date": "2026-04-21",
  "Authors@R": "c(person(\"Robert\",\"Kubinec\", role = c(\"aut\",\"cre\"),\nemail = \"bobkubinec@gmail.com\"))",
  "BugReports": "https://github.com/saudiwin/idealstan/issues",
  "Description": "Offers item-response theory (IRT) ideal-point measurement\nmodeling for diverse distributions, missing data, and over-time\nvariation. Full and approximate Bayesian sampling with 'Stan'\n(<https://mc-stan.org/>).",
  "License": "MIT + file LICENSE",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "SystemRequirements": "GNU make",
  "Additional_repositories": "https://stan-dev.r-universe.dev",
  "VignetteBuilder": "quarto",
  "RoxygenNote": "7.3.2",
  "Packaged": {
    "Date": "2026-05-12 23:16:17 UTC",
    "User": "root"
  },
  "Author": "Robert Kubinec [aut, cre]",
  "Maintainer": "Robert Kubinec <bobkubinec@gmail.com>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-12 21:45:17 UTC",
  "RemoteUrl": "https://github.com/cran/idealstan",
  "RemoteRef": "HEAD",
  "RemoteSha": "2fc49415eb48c444f373c08c2173628deae80021",
  "MD5sum": "d819f4839589398a1642ced9872459d7",
  "_user": "cran",
  "_type": "src",
  "_file": "idealstan_1.0.tar.gz",
  "_fileid": "b1eae253b12089ed8d634f76e8ad28f867b66e850b7a364f279cb19a2d5e0d8c",
  "_filesize": 554048,
  "_sha256": "b1eae253b12089ed8d634f76e8ad28f867b66e850b7a364f279cb19a2d5e0d8c",
  "_created": "2026-05-12T23:16:17.000Z",
  "_published": "2026-05-22T10:26:00.845Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77360908367,
      "time": 362,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6958083487"
    },
    {
      "job": 77360908252,
      "time": 409,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6958092427"
    },
    {
      "job": 77360907809,
      "time": 410,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6958006522"
    },
    {
      "job": 77360907908,
      "time": 313,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158303803"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25767283009",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/idealstan",
  "_commit": {
    "id": "2fc49415eb48c444f373c08c2173628deae80021",
    "author": "Robert Kubinec <bobkubinec@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0\n",
    "time": 1778622317
  },
  "_maintainer": {
    "name": "Robert Kubinec",
    "email": "bobkubinec@gmail.com",
    "login": "saudiwin",
    "bluesky": "@rmkubinec.bsky.social",
    "uuid": 10967737
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "svDialogs",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "bayesplot",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Imports"
    },
    {
      "package": "gghighlight",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "tidybayes",
      "role": "Imports"
    },
    {
      "package": "lazyeval",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "ggthemes",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "ordbetareg",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "cmdstanr",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "loo",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "rstan",
      "role": "Suggests"
    },
    {
      "package": "shinystan",
      "role": "Suggests"
    },
    {
      "package": "pscl",
      "role": "Suggests"
    },
    {
      "package": "tinytable",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0",
      "date": "2026-05-12"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "saudiwin",
      "count": 1,
      "uuid": 10967737
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 10,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/idealstan"
  },
  "_devurl": "https://github.com/saudiwin/idealstan",
  "_searchresults": 36,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/idealstan.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.7",
      "date": "2018-02-09"
    },
    {
      "version": "0.5.0",
      "date": "2018-10-31"
    },
    {
      "version": "0.5.1",
      "date": "2018-12-06"
    },
    {
      "version": "0.7.0",
      "date": "2019-02-19"
    },
    {
      "version": "0.7.1",
      "date": "2019-02-19"
    },
    {
      "version": "0.7.2",
      "date": "2019-07-10"
    },
    {
      "version": "1.0",
      "date": "2026-05-12"
    }
  ],
  "_exports": [
    "derive_chain",
    "id_estimate",
    "id_extract",
    "id_make",
    "id_me",
    "id_plot_all_hist",
    "id_plot_compare",
    "id_plot_cov",
    "id_plot_gbeta_prior",
    "id_plot_items",
    "id_plot_legis",
    "id_plot_legis_dyn",
    "id_plot_legis_var",
    "id_plot_persons",
    "id_plot_persons_dyn",
    "id_plot_ppc",
    "id_plot_rhats",
    "id_plot_sims",
    "id_post_pred",
    "id_show_trues",
    "id_sim_coverage",
    "id_sim_gen",
    "id_sim_resid",
    "id_sim_rmse",
    "launch_shinystan",
    "stan_trace",
    "summary"
  ],
  "_datasets": [
    {
      "name": "delaware",
      "title": "Rollcall vote data for Delaware State Legislature",
      "object": "delaware",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "outcome",
        "item_id",
        "person_id",
        "group_id",
        "time_id"
      ],
      "rows": 186183,
      "table": true,
      "tojson": true
    },
    {
      "name": "senate114",
      "title": "Rollcall vote data for 114th Senate",
      "object": "senate114",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "bioname",
        "born",
        "party_code",
        "rollnumber",
        "date",
        "cast_code",
        "congress",
        "chamber",
        "nominate_log_likelihood",
        "icpsr",
        "state_icpsr",
        "district_code",
        "state_abbrev",
        "occupancy",
        "last_means",
        "bioguide_id",
        "died",
        "nominate_dim1",
        "nominate_dim2",
        "nominate_geo_mean_probability",
        "nominate_number_of_votes",
        "nominate_number_of_errors",
        "conditional",
        "nokken_poole_dim1",
        "nokken_poole_dim2",
        "prob",
        "session",
        "clerk_rollnumber",
        "yea_count",
        "nay_count",
        "nominate_mid_1",
        "nominate_mid_2",
        "nominate_spread_1",
        "nominate_spread_2",
        "bill_number",
        "vote_result",
        "vote_desc",
        "vote_question",
        "dtl_desc"
      ],
      "rows": 24000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "delaware",
      "title": "Rollcall vote data for Delaware State Legislature",
      "topics": [
        "delaware"
      ]
    },
    {
      "page": "derive_chain",
      "title": "Helper Function for 'loo' calculation",
      "topics": [
        "derive_chain"
      ]
    },
    {
      "page": "id_estimate",
      "title": "Estimate an 'idealstan' model",
      "topics": [
        "id_estimate"
      ]
    },
    {
      "page": "id_extract",
      "title": "Generic Method for Extracting Posterior Samples",
      "topics": [
        "id_extract"
      ]
    },
    {
      "page": "id_extract-idealstan-method",
      "title": "Extract 'stan' joint posterior distribution from 'idealstan' object",
      "topics": [
        "id_extract,idealstan-method"
      ]
    },
    {
      "page": "id_make",
      "title": "Create data to run IRT model",
      "topics": [
        "id_make"
      ]
    },
    {
      "page": "id_me",
      "title": "Calculate ideal point marginal effects",
      "topics": [
        "id_me"
      ]
    },
    {
      "page": "id_me-idealstan-method",
      "title": "Calculate ideal point marginal effects",
      "topics": [
        "id_me,idealstan-method"
      ]
    },
    {
      "page": "id_plot_all_hist",
      "title": "Density plots of Posterior Parameters",
      "topics": [
        "id_plot_all_hist"
      ]
    },
    {
      "page": "id_plot_compare",
      "title": "Function to compare two fitted idealstan models by plotting ideal points. Assumes that underlying data is the same for both models.",
      "topics": [
        "id_plot_compare"
      ]
    },
    {
      "page": "id_plot_cov",
      "title": "Marginal Effects Plot for Hierarchical Covariates",
      "topics": [
        "id_plot_cov"
      ]
    },
    {
      "page": "id_plot_gbeta_prior",
      "title": "Launch the Generalized Beta Distribution Explorer Shiny App",
      "topics": [
        "id_plot_gbeta_prior"
      ]
    },
    {
      "page": "id_plot_items",
      "title": "Plot Item Discrimination or Difficulty Parameters",
      "topics": [
        "id_plot_items"
      ]
    },
    {
      "page": "id_plot_legis_var",
      "title": "Plot Legislator/Person Over-time Variances",
      "topics": [
        "id_plot_legis_var"
      ]
    },
    {
      "page": "id_plot_persons",
      "title": "Plot Legislator/Person and Bill/Item Ideal Points",
      "topics": [
        "id_plot_persons"
      ]
    },
    {
      "page": "id_plot_persons_dyn",
      "title": "Function to plot dynamic ideal point models",
      "topics": [
        "id_plot_persons_dyn"
      ]
    },
    {
      "page": "id_plot_ppc",
      "title": "Plot Posterior Predictive Distribution for 'idealstan' Objects",
      "topics": [
        "id_plot_ppc"
      ]
    },
    {
      "page": "id_plot_ppc-idealstan-method",
      "title": "Plot Posterior Predictive Distribution for 'idealstan' Objects",
      "topics": [
        "id_plot_ppc,idealstan-method"
      ]
    },
    {
      "page": "id_plot_rhats",
      "title": "Plotting Function to Display Rhat Distribution",
      "topics": [
        "id_plot_rhats"
      ]
    },
    {
      "page": "id_plot_sims",
      "title": "This function plots the results from a simulation generated by 'id_sim_gen()'.",
      "topics": [
        "id_plot_sims",
        "id_show_trues"
      ]
    },
    {
      "page": "id_post_pred",
      "title": "Generic Method for Obtaining Posterior Predictive Distribution from Stan Objects",
      "topics": [
        "id_post_pred"
      ]
    },
    {
      "page": "id_post_pred-idealstan-method",
      "title": "Posterior Prediction for 'idealstan' objects",
      "topics": [
        "id_post_pred,idealstan-method"
      ]
    },
    {
      "page": "id_sim_coverage",
      "title": "Function that computes how often the true value of the parameter is included within the 95/5 high posterior density interval",
      "topics": [
        "id_sim_coverage"
      ]
    },
    {
      "page": "id_sim_gen",
      "title": "Simulate IRT ideal point data",
      "topics": [
        "id_sim_gen"
      ]
    },
    {
      "page": "id_sim_resid",
      "title": "Residual function for checking estimated samples compared to true simulation scores Returns a data frame with residuals plus quantiles.",
      "topics": [
        "id_sim_resid"
      ]
    },
    {
      "page": "id_sim_rmse",
      "title": "RMSE function for calculating individual RMSE values compared to true simulation scores Returns a data frame with RMSE plus quantiles.",
      "topics": [
        "id_sim_rmse"
      ]
    },
    {
      "page": "idealdata-class",
      "title": "Data and Identification for 'id_estimate'",
      "topics": [
        "idealdata-class"
      ]
    },
    {
      "page": "idealstan-class",
      "title": "Results of 'id_estimate' function",
      "topics": [
        "idealstan-class"
      ]
    },
    {
      "page": "launch_shinystan",
      "title": "Generic Method to Use 'shinystan' with 'idealstan'",
      "topics": [
        "launch_shinystan"
      ]
    },
    {
      "page": "launch_shinystan-idealstan-method",
      "title": "Function to Launch Shinystan with an 'idealstan' Object",
      "topics": [
        "launch_shinystan,idealstan-method"
      ]
    },
    {
      "page": "release_questions",
      "title": "Function that provides additional check questions for package release",
      "topics": [
        "release_questions"
      ]
    },
    {
      "page": "senate114",
      "title": "Rollcall vote data for 114th Senate",
      "topics": [
        "senate114"
      ]
    },
    {
      "page": "stan_trace",
      "title": "Plot the MCMC posterior draws by chain",
      "topics": [
        "stan_trace"
      ]
    },
    {
      "page": "stan_trace-idealstan-method",
      "title": "Plot the MCMC posterior draws by chain",
      "topics": [
        "stan_trace,idealstan-method"
      ]
    },
    {
      "page": "summary-idealstan-method",
      "title": "Posterior Summaries for fitted 'idealstan' object",
      "topics": [
        "summary,idealstan-method"
      ]
    }
  ],
  "_readme": "https://github.com/cran/idealstan/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "arrayhelpers",
    "backports",
    "base64enc",
    "bayesplot",
    "BH",
    "bridgesampling",
    "brms",
    "Brobdingnag",
    "bslib",
    "cachem",
    "callr",
    "checkmate",
    "cli",
    "coda",
    "codetools",
    "commonmark",
    "cpp11",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "farver",
    "fastmap",
    "fontawesome",
    "forcats",
    "fs",
    "future",
    "future.apply",
    "generics",
    "ggdist",
    "gghighlight",
    "ggplot2",
    "ggrepel",
    "ggridges",
    "ggthemes",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "htmltools",
    "httpuv",
    "inline",
    "insight",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "listenv",
    "loo",
    "magrittr",
    "Matrix",
    "matrixStats",
    "memoise",
    "mgcv",
    "mime",
    "mvtnorm",
    "nleqslv",
    "nlme",
    "numDeriv",
    "ordbetareg",
    "otel",
    "parallelly",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "processx",
    "promises",
    "ps",
    "purrr",
    "quadprog",
    "QuickJSR",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "reshape2",
    "rlang",
    "rstan",
    "rstantools",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "StanHeaders",
    "stringi",
    "stringr",
    "svDialogs",
    "svGUI",
    "svUnit",
    "tensorA",
    "tibble",
    "tidybayes",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_vignettes": [
    {
      "source": "Package_Introduction_Short.qmd",
      "filename": "Package_Introduction_Short.html",
      "title": "Introduction to idealstan",
      "engine": "quarto::html",
      "headings": [],
      "created": "2026-05-12 21:45:17",
      "modified": "2026-05-12 21:45:17",
      "commits": 1
    }
  ],
  "_score": 3.255272505103306,
  "_indexed": true,
  "_nocasepkg": "idealstan",
  "_universes": [
    "cran",
    "saudiwin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-05-12T23:21:40.000Z",
      "distro": "noble",
      "commit": "2fc49415eb48c444f373c08c2173628deae80021",
      "fileid": "c8c5ff6d8bfcee02642d40fe8800df64745533fe4f6c00f2d5b90bdcaaf86854",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25767283009"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-05-12T23:22:22.000Z",
      "distro": "noble",
      "commit": "2fc49415eb48c444f373c08c2173628deae80021",
      "fileid": "39d91ce4ada7636b1f1e698f1a3f22c212505ac5aa1aacd5318291523bb99634",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25767283009"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-05-22T10:25:45.000Z",
      "commit": "2fc49415eb48c444f373c08c2173628deae80021",
      "fileid": "03199bb935a9a7d854f3b2d137196ea3546a48960b9fae555caf63cb9a224782",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25767283009"
    }
  ]
}