{
  "_id": "6ad336c82c5c76d3dd0c9ed7",
  "Package": "networkformat",
  "Type": "Package",
  "Title": "Convert R Objects to Network Edgelists and Nodelists",
  "Version": "0.1.2",
  "Authors@R": "person(\n\"Jesse\", \"Brandt\",\nemail = \"jesse.a.brandt@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0005-7462-075X\")\n)",
  "Description": "Network analysis and plotting packages such as 'igraph',\n'tidygraph', and 'ggraph' expect the edges and nodes of a graph\nas flat tables. Methods are provided to build those tables from\ndata frames (column-pair edges chosen with 'tidyselect'\nsemantics), tree-based model objects ('randomForest', 'tree',\n'rpart', 'xgboost', 'gbm'), lists (recursive parent-child\nedges), and atomic vectors (sequential edges). Graphs can also\nbe constructed in one step via as.igraph() and as_tbl_graph()\nmethods for tree models.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "URL": "https://jessebrandtdata.github.io/networkformat/,\nhttps://github.com/jessebrandtdata/networkformat",
  "BugReports": "https://github.com/jessebrandtdata/networkformat/issues",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://jessebrandtdata.r-universe.dev",
  "Date/Publication": "2026-10-06 20:28:44 UTC",
  "RemoteUrl": "https://github.com/jessebrandtdata/networkformat",
  "RemoteRef": "HEAD",
  "RemoteSha": "f931c762ad534de8850c9beb2775cf717c1b80c3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-17 08:40:57 UTC",
    "User": "root"
  },
  "Author": "Jesse Brandt [aut, cre] (ORCID:\n<https://orcid.org/0009-0005-7462-075X>)",
  "Maintainer": "Jesse Brandt <jesse.a.brandt@gmail.com>",
  "_user": "jessebrandtdata",
  "_type": "src",
  "_file": "networkformat_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/f97e024574a8eb40985a76868545f91df62a97f1be8545cc07b8808cbaed37f4",
  "_filesize": 823450,
  "_sha256": "f97e024574a8eb40985a76868545f91df62a97f1be8545cc07b8808cbaed37f4",
  "_expires": "2027-01-25T08:50:14.000Z",
  "_created": "2026-10-17T08:40:57.000Z",
  "_published": "2026-10-17T08:50:16.156Z",
  "_buildurl": "https://github.com/r-universe/jessebrandtdata/actions/runs/39018071892",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117354836975,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12096001079"
    },
    {
      "job": 117354836989,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12094884016"
    },
    {
      "job": 117354836948,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12095243384"
    },
    {
      "job": 117354836961,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12096056335"
    },
    {
      "job": 117354212460,
      "time": 204,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12095647540"
    },
    {
      "job": 117354836925,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12095607949"
    },
    {
      "job": 117354837002,
      "time": 96,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12095966285"
    },
    {
      "job": 117354837068,
      "time": 81,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12095249822"
    },
    {
      "job": 117354836942,
      "time": 86,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12095409012"
    }
  ],
  "_upstream": "https://github.com/jessebrandtdata/networkformat",
  "_commit": {
    "id": "f931c762ad534de8850c9beb2775cf717c1b80c3",
    "author": "j61722833-netizen <j61722833@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #17 from jessebrandtdata/docs/cran-comments-0.1.2\n\ndocs: record the 0.1.2 win-builder results in cran-comments",
    "time": 1791318524
  },
  "_maintainer": {
    "name": "Jesse Brandt",
    "email": "jesse.a.brandt@gmail.com",
    "login": "jesseabrandt",
    "orcid": "0009-0005-7462-075X",
    "description": "",
    "uuid": 185061044
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "randomForest",
      "role": "Suggests"
    },
    {
      "package": "tree",
      "role": "Suggests"
    },
    {
      "package": "xgboost",
      "role": "Suggests"
    },
    {
      "package": "gbm",
      "role": "Suggests"
    },
    {
      "package": "rpart",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "tidygraph",
      "role": "Suggests"
    },
    {
      "package": "ggraph",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "jessebrandtdata",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2025-52",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 6
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-12",
      "n": 7
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-29",
      "n": 3
    },
    {
      "week": "2026-37",
      "n": 1
    },
    {
      "week": "2026-41",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "jesseabrandt",
      "count": 100,
      "uuid": 185061044
    },
    {
      "user": "j61722833-netizen",
      "count": 22,
      "uuid": 228245261
    }
  ],
  "_userbio": {
    "uuid": 292258180,
    "type": "organization",
    "name": "jessebrandtdata",
    "followers": 1
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/networkformat"
  },
  "_devurl": "https://github.com/jessebrandtdata/networkformat",
  "_pkgdown": "https://jessebrandtdata.github.io/networkformat/",
  "_searchresults": 9,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/networkformat.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/jessebrandtdata/networkformat",
  "_realowner": "jessebrandtdata",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2026-10-16"
    }
  ],
  "_exports": [
    "edgelist",
    "nodelist"
  ],
  "_datasets": [
    {
      "name": "courses",
      "title": "Course prerequisite and crosslisting network",
      "object": "courses",
      "class": [
        "data.frame"
      ],
      "fields": [
        "dept",
        "course",
        "prereq",
        "prereq2",
        "crosslist",
        "credits",
        "level"
      ],
      "rows": 13,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_tbl_graph",
      "title": "Convert to tbl_graph",
      "topics": [
        "as_tbl_graph",
        "as_tbl_graph.gbm",
        "as_tbl_graph.randomForest",
        "as_tbl_graph.rpart",
        "as_tbl_graph.tree",
        "as_tbl_graph.xgb.Booster"
      ]
    },
    {
      "page": "as.igraph",
      "title": "Convert to igraph",
      "topics": [
        "as.igraph",
        "as.igraph.gbm",
        "as.igraph.randomForest",
        "as.igraph.rpart",
        "as.igraph.tree",
        "as.igraph.xgb.Booster"
      ]
    },
    {
      "page": "courses",
      "title": "Course prerequisite and crosslisting network",
      "topics": [
        "courses"
      ]
    },
    {
      "page": "edgelist",
      "title": "Extract Edgelist from Various Object Types",
      "topics": [
        "edgelist"
      ]
    },
    {
      "page": "edgelist.data.frame",
      "title": "Extract Edgelist from Data Frame",
      "topics": [
        "edgelist.data.frame"
      ]
    },
    {
      "page": "edgelist.default",
      "title": "Extract Edgelist from a Vector or Unsupported Object",
      "topics": [
        "edgelist.default"
      ]
    },
    {
      "page": "edgelist.gbm",
      "title": "Extract Edgelist from GBM Model",
      "topics": [
        "edgelist.gbm"
      ]
    },
    {
      "page": "edgelist.list",
      "title": "Extract Edgelist from a List",
      "topics": [
        "edgelist.list"
      ]
    },
    {
      "page": "edgelist.randomForest",
      "title": "Extract Edgelist from RandomForest Model",
      "topics": [
        "edgelist.randomForest"
      ]
    },
    {
      "page": "edgelist.rpart",
      "title": "Extract Edgelist from rpart Model",
      "topics": [
        "edgelist.rpart"
      ]
    },
    {
      "page": "edgelist.tree",
      "title": "Extract Edgelist from Tree Model",
      "topics": [
        "edgelist.tree"
      ]
    },
    {
      "page": "edgelist.xgb.Booster",
      "title": "Extract Edgelist from XGBoost Model",
      "topics": [
        "edgelist.xgb.Booster"
      ]
    },
    {
      "page": "nodelist",
      "title": "Extract Node List from Various Objects",
      "topics": [
        "nodelist"
      ]
    },
    {
      "page": "nodelist.data.frame",
      "title": "Extract Node List from Data Frame",
      "topics": [
        "nodelist.data.frame"
      ]
    },
    {
      "page": "nodelist.default",
      "title": "Extract Node List from a Vector or Unsupported Object",
      "topics": [
        "nodelist.default"
      ]
    },
    {
      "page": "nodelist.gbm",
      "title": "Extract Node List from GBM Model",
      "topics": [
        "nodelist.gbm"
      ]
    },
    {
      "page": "nodelist.list",
      "title": "Extract Node List from a List",
      "topics": [
        "nodelist.list"
      ]
    },
    {
      "page": "nodelist.randomForest",
      "title": "Extract Node List from RandomForest Model",
      "topics": [
        "nodelist.randomForest"
      ]
    },
    {
      "page": "nodelist.rpart",
      "title": "Extract Node List from rpart Model",
      "topics": [
        "nodelist.rpart"
      ]
    },
    {
      "page": "nodelist.tree",
      "title": "Extract Node List from Tree Model",
      "topics": [
        "nodelist.tree"
      ]
    },
    {
      "page": "nodelist.xgb.Booster",
      "title": "Extract Node List from XGBoost Model",
      "topics": [
        "nodelist.xgb.Booster"
      ]
    }
  ],
  "_readme": "https://github.com/jessebrandtdata/networkformat/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "rlang",
    "tidyselect",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "networkformat.Rmd",
      "filename": "networkformat.html",
      "title": "networkformat",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why networkformat?",
        "Quick examples",
        "Tabular data",
        "The R network ecosystem",
        "What's implemented",
        "Currently available",
        "Getting started"
      ],
      "created": "2026-02-26 03:20:03",
      "modified": "2026-03-20 04:47:30",
      "commits": 9
    },
    {
      "source": "visualization.Rmd",
      "filename": "visualization.html",
      "title": "Visualizing models as networks",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Decision tree",
        "Random forest",
        "Single tree from a forest",
        "Course prerequisite network"
      ],
      "created": "2026-02-26 03:20:03",
      "modified": "2026-03-20 04:30:39",
      "commits": 5
    },
    {
      "source": "edgelist-nodelist.Rmd",
      "filename": "edgelist-nodelist.html",
      "title": "Working with edgelists and nodelists",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Decision tree",
        "edgelist()",
        "nodelist()",
        "Pairing edges and nodes for igraph",
        "Visualizing the edgelist pipeline",
        "Random forest",
        "The treenum argument",
        "Data frame",
        "Multiple target columns",
        "na.rm --- handling missing values",
        "attr_cols --- selecting edge attributes",
        "symmetric_cols --- marking undirected relationships",
        "Note on tidygraph",
        "Putting it together: course network",
        "Graph statistics",
        "Lists",
        "S3 object fallthrough",
        "Output reference",
        "as.igraph() / as_tbl_graph()"
      ],
      "created": "2026-02-26 03:20:03",
      "modified": "2026-03-20 04:30:39",
      "commits": 6
    }
  ],
  "_score": 5.290034611362518,
  "_indexed": true,
  "_nocasepkg": "networkformat",
  "_universes": [
    "jessebrandtdata",
    "jesseabrandt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-17T08:43:12.000Z",
      "distro": "resolute",
      "commit": "f931c762ad534de8850c9beb2775cf717c1b80c3",
      "fileid": "https://r2.ropensci.org/dd0e8c39dae8947e93bd4baebb9415d42cd07dc68aba7a3963bf3b7383f5862f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jessebrandtdata/actions/runs/39018071892"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-17T08:43:07.000Z",
      "distro": "resolute",
      "commit": "f931c762ad534de8850c9beb2775cf717c1b80c3",
      "fileid": "https://r2.ropensci.org/307a7e2f541a65e6d6a27d246440a4c8c9dbada7405371250aaf9f79ce52f16b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jessebrandtdata/actions/runs/39018071892"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-17T08:44:06.000Z",
      "commit": "f931c762ad534de8850c9beb2775cf717c1b80c3",
      "fileid": "https://r2.ropensci.org/18d1ceefdad9087a0c5d91fa9dc4c2401e6a0bb5e20730b284adec50c0350aec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jessebrandtdata/actions/runs/39018071892"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-17T08:49:22.000Z",
      "commit": "f931c762ad534de8850c9beb2775cf717c1b80c3",
      "fileid": "https://r2.ropensci.org/3e77b222b84c38dc9c131ba9a0148ae2794269eb465bf9cb5b003040c18aa31f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jessebrandtdata/actions/runs/39018071892"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-10-17T08:42:58.000Z",
      "commit": "f931c762ad534de8850c9beb2775cf717c1b80c3",
      "fileid": "https://r2.ropensci.org/31f16747fe441620e9bfea98aa586502fe8a7650a418459d4338a132a900baa9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jessebrandtdata/actions/runs/39018071892"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-17T08:42:20.000Z",
      "commit": "f931c762ad534de8850c9beb2775cf717c1b80c3",
      "fileid": "https://r2.ropensci.org/dc6450b89b622feadadce6b8180415eed7d12e5dd26cb691e519c9deca50ee97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jessebrandtdata/actions/runs/39018071892"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-17T08:42:10.000Z",
      "commit": "f931c762ad534de8850c9beb2775cf717c1b80c3",
      "fileid": "https://r2.ropensci.org/2533840dc44776c27ddf9ad6a26afe62da7686b4faae9ca76111711ada06ba4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jessebrandtdata/actions/runs/39018071892"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-17T08:42:11.000Z",
      "commit": "f931c762ad534de8850c9beb2775cf717c1b80c3",
      "fileid": "https://r2.ropensci.org/02b748311832749fef55265c44ceab7c1b0bc073ec5ecafd1950726798c68d72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jessebrandtdata/actions/runs/39018071892"
    }
  ]
}