This provides the raw history graph and is not really intended for mainstream use. The internal structure of the graph is explained below. print and plot S3 methods exist for the dtrackr history graph.




a dataframe which may be grouped


the history graph. This is a list, of class trackr_graph, containing the following named items:

  • excluded - the data items that have been excluded thus far as a nested dataframe

  • tags - a dataframe of tag-value pairs containing the summary of the data at named points in the data flow (see tagged())

  • nodes - a dataframe of the nodes of the flow chart

  • edges - an edge list (as a dataframe) of the relationships between the nodes in the flow chart

  • head - the current most recent nodes added into the graph as a dataframe.

The format of this data may grow over time but these fields are unlikely to be changed.


graph = iris %>% track() %>% comment("A comment") %>% history()
#> dtrackr history:
#> number of flowchart steps: 2 (approx)
#> tags defined: <none>
#> items excluded so far: <not capturing exclusions>
#> last entry / entries:
#> └ "A comment"