{
  "_id": "6a2a981a7b7a29ca600500e0",
  "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-06-11 11:08:34 UTC",
    "User": "root"
  },
  "Author": "Zachary Neal [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3076-4995>)",
  "Maintainer": "Zachary Neal <zpneal@msu.edu>",
  "MD5sum": "b3e627fdab647e3daec6c4beed1fb5e0",
  "_user": "zpneal",
  "_type": "src",
  "_file": "incidentally_1.0.4.tar.gz",
  "_fileid": "81f12091e491d73bde74765f55a91809d63a08acbb67a5600a1054d9f6fc98fa",
  "_filesize": 1353549,
  "_sha256": "81f12091e491d73bde74765f55a91809d63a08acbb67a5600a1054d9f6fc98fa",
  "_created": "2026-06-11T11:08:34.000Z",
  "_published": "2026-06-11T11:12:26.412Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80782951240,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7562455188"
    },
    {
      "job": 80782951304,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7562451344"
    },
    {
      "job": 80782951244,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7562477339"
    },
    {
      "job": 80782951193,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7562462386"
    },
    {
      "job": 80782251361,
      "time": 240,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7562408166"
    },
    {
      "job": 80782951288,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7562447169"
    },
    {
      "job": 80782951232,
      "time": 94,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7562442731"
    },
    {
      "job": 80782951195,
      "time": 74,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7562436035"
    },
    {
      "job": 80782951220,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7562435587"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zpneal/actions/runs/27342374803",
  "_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",
    "description": "",
    "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": 227,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/incidentally"
  },
  "_devurl": "https://github.com/zpneal/incidentally",
  "_searchresults": 14,
  "_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.292256071356476,
  "_indexed": true,
  "_nocasepkg": "incidentally",
  "_universes": [
    "zpneal"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-06-11T11:10:49.000Z",
      "distro": "noble",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "078791f9e15f8bf71730ea9c1cb77efb79b9d22b01395a42ba9546a47e7d0cbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/27342374803"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-06-11T11:10:38.000Z",
      "distro": "noble",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "c43a598e5004b26e4bca6c10d619c115f4c00f6a09ad44f77a833091fc6cb0d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/27342374803"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-06-11T11:11:55.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "b898bc4c70c5bc4ca2ed7ad5de252153a5f1011477f9974cd17885584d42086c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/27342374803"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-06-11T11:11:07.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "16f2333ed1339318406abfad82046242660001c156c840ccd1b9027b179388f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/27342374803"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-06-11T11:10:42.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "c5814002d9e88d3ba3f72b3de05344eda19978d9aac3ebb17424cde9451025e3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/27342374803"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-06-11T11:10:03.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "c723742b12645aecf14a6902b682288621a4a17e2a98bc2a91e81968454d2377",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/27342374803"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-06-11T11:09:49.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "4af28a003dbb5c09ca0d941bee951f7f845f91f0353303a6632f7c88d80f896a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/27342374803"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-06-11T11:09:46.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "774b2bbc875ca2625a1155f5a96ddeca51d267a5b356c5ee0c5ebc9a177ec904",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/27342374803"
    }
  ]
}