{
  "_id": "6ac74f83de46216d5edce34d",
  "Package": "DescriptiveRepresentationCalculator",
  "Title": "Characterizing Observed and Expected Representation",
  "Version": "1.2.0",
  "Authors@R": "c(person(given = \"Connor\", family = \"Jerzak\", \nrole = c(\"aut\", \"cre\"),\nemail = \"connor.jerzak@gmail.com\",\ncomment = c(ORCID = \"0000-0003-1914-8905\")),\nperson(given = \"John\", family = \"Gerring\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-9858-2050\")),\nperson(given = \"Erzen\", family = \"Oncel\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-9372-1090\")) )",
  "Description": "A system for analyzing descriptive representation,\nespecially for comparing the composition of a political body to\nthe population it represents. Users can compute the expected\ndegree of representation for a body under a random sampling\nmodel, the expected degree of representation variability, as\nwell as representation scores from observed political bodies.\nThe package also provides district-level benchmarks for\nexpected representation in single-member district systems,\nwhere district compositions follow a Dirichlet distribution and\nseats are filled by random sampling or largest-group-wins\naffinity voting, as well as group-level representation\ndiagnostics and comparisons between bodies. The package is\nbased on Gerring, Jerzak, and Oncel (2024)\n<doi:10.1017/S0003055423000680>.",
  "URL": "https://github.com/cjerzak/DescriptiveRepresentationCalculator-software/",
  "BugReports": "https://github.com/cjerzak/DescriptiveRepresentationCalculator-software/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://cjerzak.r-universe.dev",
  "Date/Publication": "2026-07-10 02:25:52 UTC",
  "RemoteUrl": "https://github.com/cjerzak/descriptiverepresentationcalculator-software",
  "RemoteRef": "HEAD",
  "RemoteSha": "50331945048488f308c318edc37b205e7e9d7de7",
  "RemoteSubdir": "DescriptiveRepresentationCalculator",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-08 08:04:43 UTC",
    "User": "root"
  },
  "Author": "Connor Jerzak [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1914-8905>),\nJohn Gerring [aut] (ORCID: <https://orcid.org/0000-0001-9858-2050>),\nErzen Oncel [aut] (ORCID: <https://orcid.org/0000-0001-9372-1090>)",
  "Maintainer": "Connor Jerzak <connor.jerzak@gmail.com>",
  "_user": "cjerzak",
  "_type": "src",
  "_file": "DescriptiveRepresentationCalculator_1.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e38c83554918620a2a56f35935651fd885992d5f86c5fc65c98e40192a39ea10",
  "_filesize": 150605,
  "_sha256": "e38c83554918620a2a56f35935651fd885992d5f86c5fc65c98e40192a39ea10",
  "_expires": "2027-01-16T08:08:33.000Z",
  "_created": "2026-10-08T08:04:43.000Z",
  "_published": "2026-10-08T08:08:34.905Z",
  "_buildurl": "https://github.com/r-universe/cjerzak/actions/runs/37747132333",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113212363126,
      "time": 106,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11536353483"
    },
    {
      "job": 113212363182,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11535988185"
    },
    {
      "job": 113212363216,
      "time": 181,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11537015477"
    },
    {
      "job": 113212363122,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11536551646"
    },
    {
      "job": 113211309158,
      "time": 175,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11536661463"
    },
    {
      "job": 113212363179,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11537150902"
    },
    {
      "job": 113212363160,
      "time": 81,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11535848525"
    },
    {
      "job": 113212363036,
      "time": 68,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11537040083"
    },
    {
      "job": 113212363085,
      "time": 82,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11536556437"
    }
  ],
  "_upstream": "https://github.com/cjerzak/descriptiverepresentationcalculator-software",
  "_commit": {
    "id": "50331945048488f308c318edc37b205e7e9d7de7",
    "author": "cjerzak <connor.jerzak@gmail.com>",
    "committer": "cjerzak <connor.jerzak@gmail.com>",
    "message": "Add district rep, group diagnostics, CompareRep, L2 metric\n",
    "time": 1783650352
  },
  "_maintainer": {
    "name": "Connor Jerzak",
    "email": "connor.jerzak@gmail.com",
    "login": "cjerzak",
    "linkedin": "in/connor-jerzak-60325576",
    "orcid": "0000-0003-1914-8905",
    "twitter": "@JerzakConnor",
    "description": "\"Nullius in verba\"",
    "uuid": 20072192
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.3",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cjerzak",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 10
    },
    {
      "week": "2025-52",
      "n": 1
    },
    {
      "week": "2026-01",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "descriptive-representation",
    "leadership",
    "society"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "cjerzak",
      "count": 217,
      "uuid": 20072192
    }
  ],
  "_userbio": {
    "uuid": 20072192,
    "type": "user",
    "name": "Connor T. Jerzak",
    "followers": 63,
    "description": "\"Nullius in verba\""
  },
  "_downloads": {
    "count": 292,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DescriptiveRepresentationCalculator"
  },
  "_devurl": "https://github.com/cjerzak/descriptiverepresentationcalculator-software",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DescriptiveRepresentationCalculator.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/cjerzak/descriptiverepresentationcalculator-software",
  "_realowner": "cjerzak",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-10-23"
    },
    {
      "version": "1.1.0",
      "date": "2025-01-17"
    },
    {
      "version": "1.1.1",
      "date": "2025-12-14"
    }
  ],
  "_exports": [
    "CompareRepresentation",
    "ExpectedDistrictRepresentation",
    "ExpectedRepresentation",
    "GroupRepresentation",
    "ObservedRepresentation",
    "RelativeRepresentation",
    "SDRepresentation"
  ],
  "_help": [
    {
      "page": "CompareRepresentation",
      "title": "Compare the observed representation of two political bodies",
      "topics": [
        "CompareRepresentation"
      ]
    },
    {
      "page": "ExpectedDistrictRepresentation",
      "title": "Compute the expected degree of representation in a district-based electoral body",
      "topics": [
        "ExpectedDistrictRepresentation"
      ]
    },
    {
      "page": "ExpectedRepresentation",
      "title": "Compute the expected degree of representation for any group in a political body",
      "topics": [
        "ExpectedRepresentation"
      ]
    },
    {
      "page": "GroupRepresentation",
      "title": "Compute group-level representation diagnostics for a political body",
      "topics": [
        "GroupRepresentation"
      ]
    },
    {
      "page": "ObservedRepresentation",
      "title": "Compute the observed degree of representation for any group in a political body",
      "topics": [
        "ObservedRepresentation"
      ]
    },
    {
      "page": "RelativeRepresentation",
      "title": "Compute relative representation compared to random sampling",
      "topics": [
        "RelativeRepresentation"
      ]
    },
    {
      "page": "SDRepresentation",
      "title": "Compute the amount of representation left unexplained by a random sampling model.",
      "topics": [
        "SDRepresentation"
      ]
    }
  ],
  "_readme": "https://github.com/cjerzak/descriptiverepresentationcalculator-software/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "MainVignette.Rmd",
      "filename": "MainVignette.html",
      "title": "DescriptiveRepresentationCalculator Package Tutorial",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Background",
        "Random Sampling Model",
        "Package Workflow",
        "1. Expected Representation",
        "Example",
        "2. Observed Representation",
        "3. Standard Deviation of Representation",
        "4. Relative Representation",
        "5. District-Level Benchmarks",
        "6. Group-Level Diagnostics",
        "7. Comparing Two Bodies",
        "Interpretation",
        "Use Cases",
        "Conclusion",
        "References"
      ],
      "created": "2025-01-14 22:47:43",
      "modified": "2026-07-10 02:25:52",
      "commits": 3
    }
  ],
  "_score": 5.447158031342219,
  "_indexed": true,
  "_nocasepkg": "descriptiverepresentationcalculator",
  "_universes": [
    "cjerzak"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-10-08T08:06:39.000Z",
      "distro": "resolute",
      "commit": "50331945048488f308c318edc37b205e7e9d7de7",
      "fileid": "https://r2.ropensci.org/f02f60a2fae93eb1f33bb4782f25c9aa220b25098687a75f8b3f0bea4e203068",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjerzak/actions/runs/37747132333"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-10-08T08:06:40.000Z",
      "distro": "resolute",
      "commit": "50331945048488f308c318edc37b205e7e9d7de7",
      "fileid": "https://r2.ropensci.org/e88e00a2d6c2f0780c11efd49de0119d9d34da31a55f9cb7dcc0b144c6a6c118",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjerzak/actions/runs/37747132333"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-10-08T08:07:24.000Z",
      "commit": "50331945048488f308c318edc37b205e7e9d7de7",
      "fileid": "https://r2.ropensci.org/bb6be850d0926abd30eeabd398b4422fc897bbeaefee9ff4f90ee1b33bc8c270",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjerzak/actions/runs/37747132333"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-10-08T08:06:48.000Z",
      "commit": "50331945048488f308c318edc37b205e7e9d7de7",
      "fileid": "https://r2.ropensci.org/168b5dcb302ea718bc0e43f3e1c3654257d7794a5d283d07f9b585247029779b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjerzak/actions/runs/37747132333"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-10-08T08:06:28.000Z",
      "commit": "50331945048488f308c318edc37b205e7e9d7de7",
      "fileid": "https://r2.ropensci.org/1b50dc8adac80cdba31ee0c12e8844a61bf1c3f61d6c82eee030d800a129ebd3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cjerzak/actions/runs/37747132333"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-08T08:06:01.000Z",
      "commit": "50331945048488f308c318edc37b205e7e9d7de7",
      "fileid": "https://r2.ropensci.org/3fffcd45bd26361e47dcdeb78e3b1545c23c01932171fbac9378fd4ad7c04f69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjerzak/actions/runs/37747132333"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-08T08:05:53.000Z",
      "commit": "50331945048488f308c318edc37b205e7e9d7de7",
      "fileid": "https://r2.ropensci.org/0a77f4d61a165db50e9c50d132133c36aeae1f6bba3a3889b1fc1ee77a8b443f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjerzak/actions/runs/37747132333"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-08T08:06:00.000Z",
      "commit": "50331945048488f308c318edc37b205e7e9d7de7",
      "fileid": "https://r2.ropensci.org/3bf0db6665f95df04f88bdfb9bf15926e0160f62ab5623c66dc58fdccd97c180",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjerzak/actions/runs/37747132333"
    }
  ]
}