ries9112 / hal9ai

Web-First Composable Data Apps

Home Page:https://hal9.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hal9

The goal of hal9 is to provide R users a high-level hal9.js API.

Installation

You can install the development version of hal9 from GitHub with:

# install.packages("devtools")
devtools::install_github("hal9ai/hal9ai")

Basic Usage

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)

Exporting a pipeline

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")

Publishing a pipeline

You can also publish your work on RPubs and make it easily shareable through a link:

mtcars |> 
  hal9() |> 
  hal9_publish(file = "myHal9.html")

TO DO

  • Test infrastructure
  • hal9_render() first draft
  • hal9_render() tests
  • hal9_publish() first draft

Maybe

  • Shiny use case
  • Stats/ML use case
  • Publishing hal9 vignette (rpubs, shinyapps, stand alone html)

About

Web-First Composable Data Apps

https://hal9.com

License:MIT License


Languages

Language:HTML 98.7%Language:R 0.7%Language:JavaScript 0.5%Language:Shell 0.1%