# ANN: BrowseTables.jl

**URL:** <https://discourse.julialang.org/t/ann-browsetables-jl/18304>\
**Category:** Package Announcements\
**Tags:** announcement\
**Created:** [December 5, 2018, 6:32am UTC](https://discourse.julialang.org/t/ann-browsetables-jl/18304 "2018-12-05T06:32:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pontus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pontus/32/10438_2.png) [@pontus](https://discourse.julialang.org/u/pontus)\
**Post date:** [November 17, 2019, 4:01pm UTC](https://discourse.julialang.org/t/ann-browsetables-jl/18304/4 "2019-11-17T16:01:47Z")

</div>

**Interactive dataframe/table exploration using `BrowseTables.jl` and the `reload` node app.**

Have been using a static html server live-reloader app to view dataframe and table output in a browser via an html file written from Julia. Posted examples using `PrettyTables.jl` ([GitHub - ronisbr/PrettyTables.jl: Print data in formatted tables.](https://github.com/ronisbr/PrettyTables.jl)) with the REPL ([PrettyTables.jl now has initial support for HTML output - #15 by pontus](https://discourse.julialang.org/t/prettytables-jl-now-has-initial-support-for-html-output/30905/15)) and with Sublime Text ([Sublime Text 3: Worth a look! - #85 by pontus](https://discourse.julialang.org/t/sublime-text-3-worth-a-look/17142/85)). See the second Sublime Text post for more detail regarding selection of the `reload` node application among a host of static-server/live-reloader options (e.g. active support, permissive license, etc). The `reload` application can be sourced directly from GitHub ([https://github.com/alallier/reload/blob/master/README.md](https://github.com/alallier/reload/blob/master/README.md)) and installed using npm ([reload - npm](https://www.npmjs.com/package/reload)).

> **[GitHub - alallier/reload: node module to reload your browser when your code...](https://github.com/alallier/reload)**
>
> node module to reload your browser when your code changes - GitHub - alallier/reload: node module to reload your browser when your code changes

Thought I’d share a screenshot of this along with @Tamas_Papp’s `BrowseTables` package, it worked quite nicely for this particular interactive data exploration use case wrangling some CMS data, and required no special formatting, just ship the dataframe to the browser, so much nicer than using `show` function! This demonstrates use with a Jupyter notebook, but can be any source that writes the html file from Julia.  
After `using BrowseTables`, it’s a simple one-liner command to write the table - this includes use of some the kwargs but a basic 'write\_html\_table(“index.html”, df)` would suffice:

```julia
write_html_table("index.html", prvdr; title="Hospital Cost Report", caption="HOSP_RPT_ALPHA where CLMN_NUM = '00200' AND RPT_REC_NUM = '649581'")

```

 ![BrowseTables_Jupyter_example](https://global.discourse-cdn.com/julialang/original/3X/5/9/59a302280e28c06f3cdfbf2b78798a61c0686aad.png)  
And for anyone curious, on the backend, here is how I have this set up to work with Julia on Linux. These are tiled `zsh` shells within a console (preparing myself for a migration from KDE to i3 at some point). Note the upper right two tiles, the rightmost has the `reload -b` command run after navigating to the directory with the html file and producing the first output from Julia (on localhost:8080). To the left of that is the Julia kernel running the Jupyter notebook using `IJulia.jl` (on localhost:8888). I add packages in a kernel below that, have a REPL over to the left, and a shell below that.  
 ![julia_linux_tiled_reload_in_upper_right](https://global.discourse-cdn.com/julialang/original/3X/1/8/18a546218da08425b62f028287262c649a686ec8.png)

---

_[View the full topic](https://discourse.julialang.org/t/ann-browsetables-jl/18304)._
