{
  "_id": "6ad2653d475807f7554a611b",
  "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",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-16 17:53:24 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>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-16 12:50:07 UTC",
  "RemoteUrl": "https://github.com/cran/networkformat",
  "RemoteRef": "HEAD",
  "RemoteSha": "3e9bcaf2d9d8892a1e44fc55f565c7b010ad5ab0",
  "_user": "cran",
  "_type": "src",
  "_file": "networkformat_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/54ccd575e6c036052ffdfabab1a9c1fd26f5ad4648391358701bbafae5333299",
  "_filesize": 809771,
  "_sha256": "54ccd575e6c036052ffdfabab1a9c1fd26f5ad4648391358701bbafae5333299",
  "_expires": "2027-01-24T17:56:07.000Z",
  "_created": "2026-10-16T17:53:24.000Z",
  "_published": "2026-10-16T17:56:13.363Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38942712835",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117115612155,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12064330845"
    },
    {
      "job": 117115612022,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12063633971"
    },
    {
      "job": 117114269110,
      "time": 191,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12062819709"
    },
    {
      "job": 117115612025,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12063709117"
    },
    {
      "job": 117115613218,
      "time": 92,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12064087564"
    },
    {
      "job": 117115612202,
      "time": 78,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12063623781"
    }
  ],
  "_upstream": "https://github.com/cran/networkformat",
  "_commit": {
    "id": "3e9bcaf2d9d8892a1e44fc55f565c7b010ad5ab0",
    "author": "Jesse Brandt <jesse.a.brandt@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.2\n",
    "time": 1792155007
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.2",
      "date": "2026-10-16"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jesseabrandt",
      "count": 1,
      "uuid": 185061044
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 631,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_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"
  ],
  "_cranurl": false,
  "_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/cran/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-10-16 12:50:07",
      "modified": "2026-10-16 12:50:07",
      "commits": 1
    },
    {
      "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-10-16 12:50:07",
      "modified": "2026-10-16 12:50:07",
      "commits": 1
    },
    {
      "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-10-16 12:50:07",
      "modified": "2026-10-16 12:50:07",
      "commits": 1
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "networkformat",
  "_universes": [
    "cran",
    "jesseabrandt",
    "jessebrandtdata"
  ],
  "_indexurl": "https://jessebrandtdata.r-universe.dev/networkformat",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-16T17:55:31.000Z",
      "distro": "resolute",
      "commit": "3e9bcaf2d9d8892a1e44fc55f565c7b010ad5ab0",
      "fileid": "https://r2.ropensci.org/14520b3a288b650093b34ab8380819aa3d63246b573f2668fc9e1000b41a82fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38942712835"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-16T17:55:26.000Z",
      "distro": "resolute",
      "commit": "3e9bcaf2d9d8892a1e44fc55f565c7b010ad5ab0",
      "fileid": "https://r2.ropensci.org/3d53004d7a11dc8c06f91cdbd2f463811bf3d918f362ddc4a3ea229cf84a717b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38942712835"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-10-16T17:55:22.000Z",
      "commit": "3e9bcaf2d9d8892a1e44fc55f565c7b010ad5ab0",
      "fileid": "https://r2.ropensci.org/11c4376c979fc6f5f3cd935c3fb4c5803a9407daae8b4ec08dfe06636aeb9e05",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38942712835"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-16T17:54:38.000Z",
      "commit": "3e9bcaf2d9d8892a1e44fc55f565c7b010ad5ab0",
      "fileid": "https://r2.ropensci.org/ef84549be296399aa7a4953396433aca643910e48698c322595ac94b1a096bd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38942712835"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-16T17:54:32.000Z",
      "commit": "3e9bcaf2d9d8892a1e44fc55f565c7b010ad5ab0",
      "fileid": "https://r2.ropensci.org/74080b77c8c321a969fba23fac3d99a7d51a240ea8cdaad179ffc915f92b8042",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38942712835"
    }
  ]
}