{
  "_id": "6ac8c4e1de46216d5edd6d5a",
  "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-10-09 09:57:56 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/3487988b3d12343eb8182387bfe48809fa4c91aad8b8f449e92c2bc11383fa28",
  "_filesize": 1421616,
  "_sha256": "3487988b3d12343eb8182387bfe48809fa4c91aad8b8f449e92c2bc11383fa28",
  "_expires": "2027-01-17T10:41:35.000Z",
  "_created": "2026-10-09T09:57:56.000Z",
  "_published": "2026-10-09T10:41:37.685Z",
  "_buildurl": "https://github.com/r-universe/zpneal/actions/runs/37914270852",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113767810737,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11608792219"
    },
    {
      "job": 113767810550,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11609521295"
    },
    {
      "job": 113767810382,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11610358142"
    },
    {
      "job": 113767810487,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11610338391"
    },
    {
      "job": 113766685108,
      "time": 189,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11609485987"
    },
    {
      "job": 113767810461,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11609641059"
    },
    {
      "job": 113767810520,
      "time": 103,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11609960607"
    },
    {
      "job": 113767810475,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11609446123"
    },
    {
      "job": 113767810546,
      "time": 68,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11609351125"
    }
  ],
  "_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-42",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "zpneal",
      "count": 220,
      "uuid": 68908166
    }
  ],
  "_userbio": {
    "uuid": 68908166,
    "type": "user",
    "name": "zpneal",
    "followers": 23
  },
  "_downloads": {
    "count": 390,
    "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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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": 4.991226075692495,
  "_indexed": true,
  "_nocasepkg": "incidentally",
  "_universes": [
    "zpneal"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-10-09T10:00:07.000Z",
      "distro": "resolute",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/d4e50ff9e597d572d18c0ba449ec01141239ba358fd8f6c9f1f2e41211ca21f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/37914270852"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-10-09T09:59:53.000Z",
      "distro": "resolute",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/eba6b309ea965ca9a8f424f66b4e15d410a483817dd76440abed457a2f78d72f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/37914270852"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-10-09T10:39:28.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/f8ae76e43eb64160c9b8180725289d19ea91fd700c5a5e069d1c4630cfd753c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/37914270852"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-10-09T10:41:00.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/a32eb5a7482759d57c211ea0e1212f9a4b55ce0386bcee880da8a13bc1d58833",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/37914270852"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-10-09T09:59:41.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/db42a79a1c0abb4bafda347b336ac325cfb52f76796d15503ee8b3c717ce8244",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/37914270852"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-10-09T09:59:31.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/be92600ed73902767e4f71f76e165d83681ffeff905e3b830c73c2c20eb80507",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/37914270852"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-10-09T09:59:14.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/49cb2f1e3255c462f76fe25f503efed25cc51ab6155b8bfcbca1b2506de7ab96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/37914270852"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-10-09T09:58:59.000Z",
      "commit": "893739f01f4354dd3fc82672f06f134bd94655d2",
      "fileid": "https://r2.ropensci.org/273f2c283d871ff7d620db443c7118e80b8dd2b488b172af8f071406d0688db8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zpneal/actions/runs/37914270852"
    }
  ]
}