{
  "_id": "6a52048d9b92047c28d53e16",
  "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-07-11 08:50:15 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/c695bc24c49d6a9f6eca169464084adc956b3938ff4d8330b42dccefde516ef8",
  "_filesize": 1373253,
  "_sha256": "c695bc24c49d6a9f6eca169464084adc956b3938ff4d8330b42dccefde516ef8",
  "_expires": "2026-10-19T08:53:31.000Z",
  "_created": "2026-07-11T08:50:15.000Z",
  "_published": "2026-07-11T08:53:33.781Z",
  "_jobs": [
    {
      "job": 86529550883,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8246995451"
    },
    {
      "job": 86529550919,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246995193"
    },
    {
      "job": 86529550920,
      "time": 71,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8246983721"
    },
    {
      "job": 86529550914,
      "time": 82,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246984897"
    },
    {
      "job": 86529360546,
      "time": 162,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246973642"
    },
    {
      "job": 86529550879,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8246988381"
    },
    {
      "job": 86529550924,
      "time": 83,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8246985411"
    },
    {
      "job": 86529550912,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8246985133"
    },
    {
      "job": 86529550916,
      "time": 113,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246989989"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/zpneal/actions/runs/29146677809",
  "_status": "success",
  "_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",
    "description": "",
    "uuid": 68908166,
    "orcid": "0000-0003-3076-4995"
  },
  "_distro": "resolute",
  "_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",
    "followers": 23
  },
  "_downloads": {
    "count": 329,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/incidentally"
  },
  "_devurl": "https://github.com/zpneal/incidentally",
  "_searchresults": 14,
  "_rbuild": "4.6.1",
  "_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.292256071356476,
  "_indexed": true,
  "_nocasepkg": "incidentally",
  "_universes": [
    "zpneal"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-07-11T08:52:56.000Z",
      "distro": "resolute",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/5837c82b14938651283eb5f873e88ec2ab90e6966187128b4fcf4976050b2a0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/29146677809"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-07-11T08:52:51.000Z",
      "distro": "resolute",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/8be942f7c32ba7ebff237f481d5dbb3ac1cee1ef117fe5350b1f7a3aab4ae4d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/29146677809"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-07-11T08:51:34.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/5dbe68fa9bd74b8875b0f83fda785e64dbaf31dc1a88b2e928affca199599331",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/29146677809"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-07-11T08:51:41.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/f3787741c7bf6c0e1919f6d5a08b4abba7089fa8cfa7b4183c55649ecdd86ccf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/29146677809"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-07-11T08:52:18.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/e3b210a23f89c830d0c92fe6455d46e811fabddc815dd7640f0a18c0485bbe27",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/29146677809"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-07-11T08:51:39.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/53ad8237122687e293669aab69921fd19d0260bf223acf60c7efd27a86a5c76d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/29146677809"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-07-11T08:51:42.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/f44c069b0e74a428b19e2e68e225c7063969b01123ea7fdb5f58056ddeabded2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/29146677809"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-07-11T08:52:14.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/dadfc44af68ca14f88ba8c149a1be3d4c07a0792dcdd9291f699200f37382d65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/29146677809"
    }
  ]
}