TODO.md

TODO

Bugs

Interactivity

What do you really want from the interactivity? Probably the quickest way to get there is with Shiny, worth prototyping there at least

Appearance

Ifelse

I think the most straightforward way to deal with if/else is the Schrodinger's cat approach. Treat assignments in conditional states as a single entity:

# Expression 1
a <- "..." 
# Expression 2
if (...) { 
  b <- f(a)
  c <- g(b)
} else {
  b <- f2(a) 
  c <- g2(b)
}
# Expression 3
d <- h(b, c)

The above will have 4 nodes: a -> b -> c -> d. The code displayed for the b node:

if (...) {
  b <- f(a)
} else {
  b <- f2(a)
}

Asymmetry

This isn't going to do a great job of addressing assymetrical effects though, so we would need something more in such cases:

if (...) {
  saveRDS(b)
} else {
  saveRDS(c)
}

The above will produce 2 nodes. The code for b | saveRDS:

if (...) {
  saveRDS(b)
}

Data Prep

Graphing

Interactivity

Lower Priority



dkary/dataflow documentation built on Dec. 20, 2021, 12:06 a.m.