The goal of hal9 is to provide R users a high-level hal9.js API.
You can install the development version of hal9 from GitHub with:
# install.packages("devtools")
devtools::install_github("hal9ai/hal9ai")
Hal9 is a javascript library that enables anyone to compose visualizations and predictive models optimized for websites and web APIs.
You can explore your data interactively using the hal9
function:
library(hal9)
## basic example code
hal9(my_data)
You may also build a specific pipeline using our high-level functions:
mtcars |>
hal9() |>
hal9_add_filter()
#option 2
# pre-built common pipelines
hal9_filter(mtcars)
You may export an existing pipeline built using high level functions to
a html file using the hal9_render
function:
mtcars |>
hal9() |>
hal9_to_html(file = "myHal9.html")
You can also publish your work on RPubs and make it easily shareable through a link:
mtcars |>
hal9() |>
hal9_publish(file = "myHal9.html")
- Test infrastructure
-
hal9_render()
first draft -
hal9_render()
tests -
hal9_publish()
first draft
- Shiny use case
- Stats/ML use case
- Publishing hal9 vignette (rpubs, shinyapps, stand alone html)