The monarchr package makes it easy to work with Knowledge Graph (KG) data in R. Designed with
the Monarch Initiative in mind, the package supports any KG
in the standard KGX format, including those at https://kghub.org/, via either files for Neo4j-hosted graph databases. With
monarchr I wanted to design a tidy-inspired API around pipes, allowing users to query nodes and flexibly expand those nodes to fetch their surrounding neighborhood accorind to specific criteria. Backed by the amazing tidygraph and igraph packages (and a lot of help from neo2r), graphs may be filtered, joined, transitively aggregated, and analyzed.