implement their analysis in R and export their analysis and notebook
install the multiverse library from npm
call mvis start <path_to_data> <path_to_code> <path_to_nodebook> which will start the visualisation tool in a local server
call mvis compile <path_to_data> <path_to_code> <path_to_nodebook> which will compile the visualisation into a single html file
Essentially, this entails building a Command-Line Interface (CLI). For this, we would need to bundle the visualisation as a PyPI package.
As an alternative, we could potentially create another R package named multiverse.visualiser or something which can be invoked from RStudio. However, we need to make sure of the following:
[ ] ensuring necessary javascript packages such as npm
[ ] the visualisation tool is installed somewhere when the package is installed -> not sure how to do this
Currently the envisioned workflow is:
npm
mvis start <path_to_data> <path_to_code> <path_to_nodebook>
which will start the visualisation tool in a local servermvis compile <path_to_data> <path_to_code> <path_to_nodebook>
which will compile the visualisation into a single html fileEssentially, this entails building a Command-Line Interface (CLI). For this, we would need to bundle the visualisation as a PyPI package.
As an alternative, we could potentially create another R package named
multiverse.visualiser
or something which can be invoked from RStudio. However, we need to make sure of the following: