Is it possible to call Org Babel code blocks from other code blocks?

emacs, org-babel, org-mode

Solution

Yes, you can. Simply use :var where the parameter is the result of another block execution.

#+name: clean
#+begin_src ...
...
#+end_src

#+name: plot
#+begin_src :var data=clean
...
#+end_src

Problem

I have a number of Org Babel code blocks in my Library of Babel that I call sequentially quite often. Is it possible to make an Org Babel code block that calls these other code blocks in order?

Original source