{
  "_id": "6a103a07acfb0bcc41c9b2dc",
  "Package": "incidentally",
  "Title": "Generates Incidence Matrices and Bipartite Graphs",
  "Version": "1.0.4",
  "Authors@R": "person(\"Zachary\", \"Neal\", , \"zpneal@msu.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-3076-4995\"))",
  "Description": "Functions to generate incidence matrices and bipartite\ngraphs that have (1) a fixed fill rate, (2) given marginal\nsums, (3) marginal sums that follow given distributions, or (4)\nrepresent bill sponsorships in the US Congress\n<doi:10.31219/osf.io/ectms>. It can also generate an incidence\nmatrix from an adjacency matrix, or bipartite graph from a\nunipartite graph, via a social process mirroring team, group,\nor organization formation <doi:10.48550/arXiv.2204.13670>, or\nexamine the space of binary matrices with fixed marginals.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "URL": "https://www.zacharyneal.com/backbone,\nhttps://github.com/zpneal/incidentally",
  "BugReports": "https://github.com/zpneal/incidentally/issues",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://zpneal.r-universe.dev",
  "Date/Publication": "2025-10-14 14:39:09 UTC",
  "RemoteUrl": "https://github.com/zpneal/incidentally",
  "RemoteRef": "HEAD",
  "RemoteSha": "893739f01f4354dd3fc82672f06f134bd94655d2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 05:17:42 UTC",
    "User": "root"
  },
  "Author": "Zachary Neal [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3076-4995>)",
  "Maintainer": "Zachary Neal <zpneal@msu.edu>",
  "MD5sum": "942cb4dba1df800a94e6047ff5df4506",
  "_user": "zpneal",
  "_type": "src",
  "_file": "incidentally_1.0.4.tar.gz",
  "_fileid": "c9b8883eacc64b24ffcfc4ff2c4b2771243babf924efb95b6a898f97e2bee8f3",
  "_filesize": 1396920,
  "_sha256": "c9b8883eacc64b24ffcfc4ff2c4b2771243babf924efb95b6a898f97e2bee8f3",
  "_created": "2026-05-12T05:17:42.000Z",
  "_published": "2026-05-22T11:12:07.106Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77368089196,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6936242637"
    },
    {
      "job": 77368089140,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936241245"
    },
    {
      "job": 77368089222,
      "time": 103,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6936237988"
    },
    {
      "job": 77368089146,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936234942"
    },
    {
      "job": 77368088689,
      "time": 171,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936216357"
    },
    {
      "job": 77368088406,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159105234"
    },
    {
      "job": 77368088962,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6936233684"
    },
    {
      "job": 77368089093,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6936231998"
    },
    {
      "job": 77368089363,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936235420"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zpneal/actions/runs/25714894469",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/zpneal/incidentally",
  "_commit": {
    "id": "893739f01f4354dd3fc82672f06f134bd94655d2",
    "author": "zpneal <zpneal@msu.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #8 from zpneal/devel\n\nUpdate to 1.0.4",
    "time": 1760452749
  },
  "_maintainer": {
    "name": "Zachary Neal",
    "email": "zpneal@msu.edu",
    "login": "zpneal",
    "uuid": 68908166,
    "orcid": "0000-0003-3076-4995"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "backbone",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "zpneal",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "zpneal",
      "count": 220,
      "uuid": 68908166
    }
  ],
  "_userbio": {
    "uuid": 68908166,
    "type": "user",
    "name": "zpneal"
  },
  "_downloads": {
    "count": 270,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/incidentally"
  },
  "_devurl": "https://github.com/zpneal/incidentally",
  "_searchresults": 11,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/incidentally.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/zpneal/incidentally",
  "_realowner": "zpneal",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.9.0",
      "date": "2022-04-08"
    },
    {
      "version": "1.0.0",
      "date": "2022-06-01"
    },
    {
      "version": "1.0.1",
      "date": "2022-08-06"
    },
    {
      "version": "1.0.2",
      "date": "2023-02-15"
    },
    {
      "version": "1.0.3",
      "date": "2025-08-01"
    },
    {
      "version": "1.0.4",
      "date": "2025-10-14"
    }
  ],
  "_exports": [
    "add.blocks",
    "curveball",
    "incidence.from.adjacency",
    "incidence.from.congress",
    "incidence.from.distribution",
    "incidence.from.probability",
    "incidence.from.vector",
    "space"
  ],
  "_help": [
    {
      "page": "add.blocks",
      "title": "Adds a block structure to an incidence matrix",
      "topics": [
        "add.blocks"
      ]
    },
    {
      "page": "curveball",
      "title": "Randomize an incidence matrix or bipartite graph using the curveball algorithm",
      "topics": [
        "curveball"
      ]
    },
    {
      "page": "incidence.from.adjacency",
      "title": "Generates an incidence matrix from an adjacency matrix",
      "topics": [
        "incidence.from.adjacency"
      ]
    },
    {
      "page": "incidence.from.congress",
      "title": "Generate bill sponsorship incidence matrices and bipartite graphs",
      "topics": [
        "incidence.from.congress"
      ]
    },
    {
      "page": "incidence.from.distribution",
      "title": "Generates an incidence matrix with row and column sums that follow given distributions",
      "topics": [
        "incidence.from.distribution"
      ]
    },
    {
      "page": "incidence.from.probability",
      "title": "Generates an incidence matrix with a given cell-filling probability",
      "topics": [
        "incidence.from.probability"
      ]
    },
    {
      "page": "incidence.from.vector",
      "title": "Generates an incidence matrix with given row and column marginal sums",
      "topics": [
        "incidence.from.vector"
      ]
    },
    {
      "page": "incidentally",
      "title": "incidentally: Generates incidence matrices and bipartite graphs",
      "topics": [
        "incidentally-package",
        "incidentally"
      ]
    },
    {
      "page": "space",
      "title": "Examine the space of incidence matrices with fixed marginals",
      "topics": [
        "space"
      ]
    }
  ],
  "_pkglogo": "https://github.com/zpneal/incidentally/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/zpneal/incidentally/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pkgconfig",
    "rlang",
    "vctrs",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "incidentally.Rmd",
      "filename": "incidentally.html",
      "title": "Introduction to Incidentally",
      "author": "Zachary Neal, Michigan State University, zpneal@msu.edu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Table of Contents",
        "Introduction",
        "Welcome",
        "What are incidence matrices?",
        "Loading the package",
        "Package overview",
        "Fill and marginal constraints",
        "Fill/Density",
        "Marginal sums",
        "Marginal distributions",
        "Generative models",
        "Teams model",
        "Clubs model",
        "Organizations model",
        "Utilities",
        "Randomization",
        "State space",
        "Block models",
        "References"
      ],
      "created": "2022-04-01 20:45:34",
      "modified": "2025-08-07 13:20:28",
      "commits": 10
    },
    {
      "source": "congress.Rmd",
      "filename": "congress.html",
      "title": "Working with US Congress bill sponsorship data",
      "author": "Zachary Neal, Michigan State University, zpneal@msu.edu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Table of Contents",
        "Introduction [@neal2022legislative]",
        "Welcome",
        "The US legislative process",
        "Types and areas of bills",
        "Getting the data",
        "Constructing a network",
        "References"
      ],
      "created": "2022-06-01 12:48:36",
      "modified": "2025-08-07 13:20:28",
      "commits": 3
    }
  ],
  "_score": 5.1875207208364635,
  "_indexed": true,
  "_nocasepkg": "incidentally",
  "_universes": [
    "zpneal"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-12T05:19:47.000Z",
      "distro": "noble",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "cd374e013cd792cfef5ff313c883b532303b818648121bb6e40dea9642672cd3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/25714894469"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-12T05:19:43.000Z",
      "distro": "noble",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "8825868b75506de1b949ca585aa5e494ecee8cfb8452ee7075d3bc861f61a608",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/25714894469"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-12T05:19:26.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "1a1784ede883750922833b08e90ab25d83dc17a77e92cca20f8e6fefa768adce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/25714894469"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-12T05:19:14.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "ffe4c7acabfd458e716b75aaed0a48a4668ffa99ef52618c31c993f0bf2d4c88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/25714894469"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-12T05:18:56.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "e56fe9661ab509342e70d9094d10fd1fdea328e26afc26e8e9c0204d63326488",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/25714894469"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-12T05:18:49.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "8ea4fc56d78ee0422c4b1abf6ebcbbe2fb943cecef12cedd0d41fbf1b930632c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/25714894469"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-12T05:19:06.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "8b64b3f276a7018a11d611f386b74a521047957df31e57414aff6cfd624b1f21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/25714894469"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-05-22T11:11:49.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "b1d91649c236b0f5d664da5f439b38a2e4c21bff08fdefeb4587180a743c4b11",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/25714894469"
    }
  ]
}