...scripts to visualize Darwin Core Event core datasets with Humboldt extensions as trees, networks, etc following examples from the R Graph Gallery.
Interactive Event-tree chart generated with the event_tree app which references humboldtTree.R
-
Clone or download this repo, and open its 'Rproj' file in RStudio.
-
Install packages if needed:
# Paste and run this in the RStudio console (lower-left panel)
install.packages(c("collapsibleTree", "shiny",
"igraph", "readr", "RColorBrewer",
"data.table", "data.tree", "ggraph"))
-
Copy your input-CSV to the "data_input" folder
-
Name the input-CSV "FM_Humboldt_data.csv"
-
Run a charting script. e.g. in the RStudio console, type:
# To see a network-diagram:
`source("humboldtNetwork.R")`
# To launch the interactive tree-diagram shiny-app:
`shiny::runApp('event_tree')`
Generates a collapsible tree/dendrogram to illustrate parent-child relationships

Generates a less organized network for clusters/relationships
