{
  "_id": "6af0a1daf4a180a2e271e014",
  "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-11-08 09:48:58 UTC",
    "User": "root"
  },
  "Author": "Zachary Neal [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3076-4995>)",
  "Maintainer": "Zachary Neal <zpneal@msu.edu>",
  "_user": "zpneal",
  "_type": "src",
  "_file": "incidentally_1.0.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/cd8369bc2493c1aa789b3bf4a33077236c270eb72ae24ab56512a8bd94da31d1",
  "_filesize": 1384864,
  "_sha256": "cd8369bc2493c1aa789b3bf4a33077236c270eb72ae24ab56512a8bd94da31d1",
  "_expires": "2027-02-16T09:52:42.000Z",
  "_created": "2026-11-08T09:48:58.000Z",
  "_published": "2026-11-08T16:22:50.458Z",
  "_upstream": "https://github.com/zpneal/incidentally",
  "_status": "success",
  "_maintainer": {
    "name": "Zachary Neal",
    "email": "zpneal@msu.edu",
    "login": "zpneal",
    "uuid": 68908166,
    "orcid": "0000-0003-3076-4995"
  },
  "_jobs": [
    {
      "job": 128773910659,
      "time": 119,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13612269727"
    },
    {
      "job": 128773910844,
      "time": 115,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13613170141"
    },
    {
      "job": 128773909199,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13625280697"
    },
    {
      "job": 128773909290,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13625275560"
    },
    {
      "job": 128773910443,
      "time": 295,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13612781169"
    },
    {
      "job": 128773910696,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13612781313"
    },
    {
      "job": 128773910276,
      "time": 64,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13612866843"
    },
    {
      "job": 128773909436,
      "time": 74,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13623226306"
    },
    {
      "job": 128773909238,
      "time": 71,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13622599222"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zpneal/actions/runs/42468496179",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": [],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "zpneal",
      "count": 220,
      "uuid": 68908166
    }
  ],
  "_userbio": {
    "uuid": 68908166,
    "type": "user",
    "name": "zpneal",
    "followers": 23
  },
  "_downloads": {
    "count": 362,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/incidentally"
  },
  "_devurl": "https://github.com/zpneal/incidentally",
  "_searchresults": 14,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/incidentally.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_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",
  "_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": 4.292256071356476,
  "_indexed": true,
  "_nocasepkg": "incidentally",
  "_universes": [
    "zpneal"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-11-08T09:52:06.000Z",
      "distro": "resolute",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/c961d3f6f5ae7b4bb19ea71cf153ddb6d0ea18739eacf84ac7480511a3657b38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/42468496179"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-11-08T09:51:58.000Z",
      "distro": "resolute",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/5f4163a240355ee7d82682c82f440feb977ca030e5471bd9cfe172114099d9e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/42468496179"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-11-08T16:22:16.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/1666760e428992bd30987f68dee1c330f163afc445adc463f2dd5fa46f0daf30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/42468496179"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-11-08T16:20:44.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/0312bbbb2a865d64cfa6f0dec64d44ffc1f3773799b7fa81fc4f33d614de48e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/42468496179"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-11-08T09:52:07.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/200bdde29db7ea6fd154502220ee7244e8f3ae507b77bd882f51837387e1fc62",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/42468496179"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-11-08T09:51:05.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/4e82a625a9c6ad40753c96bd57b4e7a192396aa4ff163d14e90d80fa35fb1bb2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/42468496179"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-11-08T15:24:05.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/1f53e550552b823d3b9e35a715964e86473de7c809e6d68ead9edf861292aa8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/42468496179"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-11-08T15:24:03.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/d65eaa541a39a9e6692877734549d4979d051ab792dab82d802768c683d2a206",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/42468496179"
    }
  ]
}