34 ms·
Tad, a tabular data viewer
- tadfisher 9y agoOh joy, more Slack pings from the data team (check my username). Nice work!
- foxbarrington 9y agoVery cool! I'm interested to see how easy it is to create pivots on the fly. We use react-pivot[1] all over the place, but it needs js to set them up. [1] https://github.com/davidguttman/react-pivot https://github.com/davidguttman/react-pivot
- vortico 9y agoLooks fantastic! I love the combination of SQLite fixed schema with the hierarchical view. Some advice on the website: Do some browser sniffing (I know) to display a screenshot of the software on the user's operating system. This immediately answers the question "Does the software work on my computer?" Also, the source code link should be near the Download section. Not everyone is trained that the triangle GitHub icon in the top right means "source code".
- antonycourtney 9y agoGreat suggestions for the landing page, thank you!
- beefsack 9y agoThe screenshot suggestion is a good one, whenever I open a GUI software page and see a screenshot of Windows or MacOS I often just close the tab and move on.
- type0 9y agoTo me it's often that when I see screenshots of MacOS I usually assume that it's Mac only software and most of the time it's true
- shusson 9y agoInteresting, I would describe it as an SQL client with an easy interface to load column based files. It's built on top of SQLite, which gives an indication of the kind of performance one can expect.
- PeCaN 9y agoSQLite is pretty fast actually. More problematic is that this uses Electron. Loading a tiny 200-line CSV file took 120MB for me lol
- eon1 9y agoThanks for the heads up on Electron - I was going to look into onboarding this for our team until that. We have more than enough in the way of crufty crapplications already.
- nine_k 9y agoCan it run a proper local server, so that one could connect using an already open browser? (Maybe even remotely.)
- fjert 9y agoWow, this seems simple but I got excited immediately when seeing this. Since I have been writing code to export data for clients, I have grown so tired of Kingsoft Spreadsheets and Google Sheets lagging like crazy with any sizable amounts of data. This will be a cool new tool to show my coworkers tomorrow and I'll be using it. Performance seems very snappy so far!
- antonycourtney 9y agoI invested some effort to keep it performant even with fairly large CSV files, including a custom port of some C++ code for fast CSV import. My current favorite example is the Met Museum's 228MB 450k row collection data set; takes about 12 sec. to open in Tad on my 2013 MacBook Pro. Definitely not lag free (and hard to achieve that without going to some serious column store data warehouse like Amazon Redshift), but still reasonable. https://twitter.com/antonycourtney/status/869252722624561152 https://twitter.com/antonycourtney/status/869252722624561152
- elcritch 9y agoThanks for putting this out there! There are some projects out there using memory mapped files to do fast CSV parsing. Could be a nice way to speed up the memory loading and scroll it in real time. Can't find the link to the library I saw it used in, but it might be an interesting venue to consider. Another library that does it seems to be astropy fast ascii IO module [1]. [1]: http://docs.astropy.org/en/stable/io/ascii/fast_ascii_io.html http://docs.astropy.org/en/stable/io/ascii/fast_ascii_io.htm...
- camkego 9y agoTry benchmarking OS read() calls vs. either sequential or random reads using memory mapping, whenever I do this OS read() calls end up being quite a bit faster.
- nerdponx 9y agoAre you familiar with the R package data.table? Its CSV parser is blazing fast. Pandas (the Python tabular data library) also implements a speedy CSV parser. Both are written in C under the hood.
- alexpetralia 9y agoMaybe I missed it but how is this better than Excel?
- cormacrelf 9y agoIt doesn't appear to cost anything at all.
- antonycourtney 9y agoI don't think I ever claimed it was better than Excel, which is targeted at different set of users and use cases. That said, here are some reasons why some users might prefer Tad to Excel: It's free and MIT licensed with the sources on github. It's available for Linux, Windows and Mac. It works on any tabular data source. The UI for creating a pivot table is clear and intuitive and efficient (just a few clicks); many users find Excel's pivot table interface difficult and confusing. The underlying typed data model is a better fit for many data sets. And finally, it is many times faster than Excel for loading and working with large CSV files: My large test data set takes 12 sec to load in Tad vs 40 sec. for Excel.
- alexpetralia 9y agoI think these are all very legitimate reasons, thanks for the info!
- jonaf 9y agoPerhaps the better question is, how is this better than Google Spreadsheets? Most of your reasons still apply, but I believe google docs handles large spreadsheets pretty well (after an initial loading phase).
- unclesaamm 9y agoGoogle Sheets isn't open sourced and MIT licensed is one big difference
- ZenoArrow 9y ago"It works on any tabular data source." Just on that point, Excel allows you to define the field delimiter on import of text files and handles a ton of different formats out of the box, so I doubt this is a point where Tad is better than Excel (though Tad does look promising as a tool to quickly check data files).
- rattray 9y agoThe brief screenshot and short description look cool – does anyone have a screencast demo? EDIT: once you install it, a rich README pops up which includes more screenshots and some example datasets. Fun to play around with
- malkia 9y agoIs this using JUCE?
- TkTech 9y agohttps://github.com/antonycourtney/tad https://github.com/antonycourtney/tad It's an Electron app.
- rabidrat 9y agoIf you prefer working from the terminal, you should check out VisiData (https://github.com/saulpw/visidata https://github.com/saulpw/visidata). It's a curses tabular data tool that can start browsing terabyte .csv files immediately, with few dependencies and no clicking.
- baldfat 9y agoBeen using this daily. Great tool. I almost forgot the awk commands :) BUT I still love awk!
- nur0n 9y agoI was looking through the comments hoping to find a tool like this. You did not let me down, fellow HNer! I try to use the command line whenever I can. Somehow there is a command line tool for just about everything, except for the obvious cases where it not useful like visual media and graphs.
- antonycourtney 9y agoI don't want to dissuade you if curses-based UIs are your thing. But one thing that's been crucial to me from Day 1 is that you can type "tad foo.csv" at the command line and immediately get a usable view of your data with no extra config or tweaking needed. I mostly launch tad from the command line.
- rabidrat 9y agoI just launched "tad 311_Service_Requests_from_2010_to_Present.csv" (a 10GB dataset from data.cityofnewyork.us) and it ate up all my memory without ever showing any data. "vd 311_Service_Requests_from_2010_to_Present.csv" shows the first rows instantly, and I can start rearranging columns while it is still loading, and I can press Ctrl-C to stop the load (and the rows already loaded are still available). No config or tweaking needed.
- gravelc 9y agoJust gave it a quick test run on a 6 million row by 8 column CSV my software produces. Fairly slow to open on an iMac, but got there in the end. Looks nice. Sorting fast. Have got an additional column called 'Rec' for some reason.
- MrMattWright 9y agoThis is absolutely terrific! I often work with csv or tsv and large data, and I just want to quickly look at it without loading excel or exporting to google sheets. https://atom.io/packages/tablr https://atom.io/packages/tablr Tablr for Atom is good too. One feature request. I very often get data in JSON format (then convert to csv), it would be amazing to also support JSON. Thanks for sharing.
- naushit 9y ago+1 Instead of "can I import X", please allow import preprocessor to import any kind of data. People can write customer pre-processor script. ( sometime for sanity check ).
- baldfat 9y agoOpenRefine http://openrefine.org/ http://openrefine.org/ for years has been my go to tool when looking at csv or tsv. I really love this project. > OpenRefine (formerly Google Refine) is a powerful tool for working with messy data: cleaning it; transforming it from one format into another; and extending it with web services and external data.
- MrMattWright 9y agoOh thanks for reminding me, I did look at that a while ago, it's absolutely great. The transforming steps are amazing. Time to have another look at it. Exploratory.io is similar (nice transformation steps using dplyr) but for me it was just a bit too close to actually writing the R code.
- baldfat 9y agoI LOVE writing code for R for scraping. I am actually serious. The Hadleyverse and the package tiddyverse have changed my programming life (Well learning Racket helped a ton also since there is Lisp in the foundations of R)
- Cogito 9y agoI couldn't see any way to export data, once I had filtered or pivoted it. Is this supported at all, or do I need to use the copy mechanism? I have a ~4GB file to filter down and analyse, and this almost looks like a nice tool for business users to use to explore the data themselves, but they need to be able to export to excel at some point.
- ericfrigot 9y agoVery nice ! Mainly for the cascaded pivot option. First remarks : - Requires \n or \r\n end line, not working with \r - Requires comma as separator (not possible to change it or I don't find how) - Does not support (for exemple) ANSI encoding
- Svip 9y agoJust out of curiosity, which systems uses \r as newline these days? As far as I understand it, Mac OS did it prior to its version 10 (its Unix version), but the modern macOS does not.
- ericfrigot 9y agoNot sure about that, the files are coming from an old system on which we don't have any information.
- roller 9y agofwiw, a Save As CSV from "Microsoft® Excel for Mac" 15.33 got me this: test.csv: UTF-8 Unicode (with BOM) text, with CR line terminators Apparently, even recent software is not up to date on what the line separator should be.
- Macuyiko 9y agoNice, some initial remarks: - Sad to see it's an Electron app, but I don't want to start this flamewar all over again - Mid-sized CSV file opens fairly quick - If you want to build this into a full-fledged app, be prepared to handle a lot of CSV edge cases, also think about supporting AVRO, Parquet files - Regarding filtering: I can filter on CONTAINS and '=' but not on NOT-CONTAINS or '<>' I think? This is annoying to filter out empty strings (didn't check in much detail so I might be wrong here) - Regarding filtering: I have a lot of columns, would be nice if the dropdown would allow me typing some characters to prune the list and quickly find what I'm looking for - You might think about including some statistics per column, e.g. variance or entropy to allow for exploration in case many columns are present and you quickly want to highlight the more "interesting" ones Congrats on putting something out! Some competition in this space: https://exploratory.io/ https://exploratory.io/, https://github.com/saulpw/visidata https://github.com/saulpw/visidata and http://www.delimitware.com/ http://www.delimitware.com/ (as others have mentioned).
- mrmondo 9y agoGood summary, thanks for the tldr; +1 for the comment about Electronic/Javascript, also don't want to start a flame war heh. exploratory.io looks really neat, it's a shame about the pricing and I'm not quite sure if it's a native app once you purchase or if it's an in-browser online-only app, because if it's online only 1) I'd be worried about uploading data to a 3rd party and 2) The internet in Australia is _terrible_ so uploading / downloading larger data sets might be painful.
- Pamar 9y agoFrom their FAQ (https://exploratory.io/faq https://exploratory.io/faq) - I have very sensitive data. Is my data safe? Any data you import into Exploratory Desktop always stays on your PC and never leave your PC unless you explicitly publish (share) it to Exploratory Cloud (exploratory.io). If you decided to publish the data to Exploratory Cloud for sharing or scheduling, you can share it in a private way so that so that only you and others you have invited can view it. The data is also stored in encrypted. Please take a look at our Privacy Policy for more details. - Where exactly my data is stored after importing? All the data you import into Exploratory Desktop is saved as a binary form (R's Rdata format) inside your repository, which is located under '/.exploratory' on your PC.
- asteinbr 9y agoAnother Electron app, yay...
- continuational 9y agoIf a have a table with an email column, can I pivot by email domain?
- mrmondo 9y agoHey, congrats on putting this out, one small thing: Homebrew is showing v0.8.3 as the latest version however v0.8.4 has been released (probably an easy fix), also I was wondering if there were plans to make this a native / non-javascript app?
- TheAceOfHearts 9y agoRelated to this, if you're looking for a CLI tool for handling CSVs, xsv [0] is looking promising. Based on prior experiences with CSV, one of the big problems I've seen has been figuring out what text encoding is being used. This problem appears to be more prominent with people outside of the US. It looks like Tad is using fast-csv, which I don't think will properly handle different file encodings. Life would be so much simpler if everyone just used UTF-8. [0] https://github.com/BurntSushi/xsv https://github.com/BurntSushi/xsv
- nerdponx 9y agoCsvkit [0] has been my go-to for a while now. I never heard of XSV before, but I will try just about anything with BurntSushi's name on it. Ripgrep is an amazing tool. [0]: https://github.com/wireservice/csvkit https://github.com/wireservice/csvkit
- burntsushi 9y agoYou basically have two approaches: 1. Write your CSV parser with an assumption that the data is ASCII compatible (this means it works with either UTF-8 or Latin-1 out of the box, possibly modulo non-ASCII meta characters). To support additional encodings---such as UTF-16---either the CSV library or the caller must transcode first. 2. Write your CSV parser such that it can work on multiple different encodings. For example, this means looking for `\x2C\x00` when parsing UTF-16LE data instead of just `,`. This introduces implementation complexity, and you'll be unlikely to support the full gamut of encodings that other tools support whose job it is to do that sort of thing. (2) is kind of weird but probably quite a bit faster than (1), although I can imagine it being useful in very niche circumstances. e.g., "I have a boat load of UTF-16 encoded CSV data and transcoding it to UTF-8 to use this CSV parser isn't worth my time because ______." I can't actually fill in that blank, so solutions in (1) tend to be the way to go. Now... If you're building a full on CSV tabular viewer, then I might understand why it should handle encoding for you automatically, but when it comes down to it, the viewer is still going to need to choose between (1) and (2). Unless they want to hand roll their own CSV library, I imagine they're just going to pick (1), and when possible, transcode the data first. In that case, it shouldn't really matter whether their underlying CSV parser supports alternative encodings or not.
- misterdata 9y agoJust noticed the installer changes the file association for CSV's so they all open with Tad, without asking me first. Please do not do this. Otherwise, nice app. How does it scale to larger CSV files? I have been working on something similar (https://warp.one https://warp.one) for Mac, which streams CSV files (apparently you use a SQLite database behind the scenes as cache?)
- johnlbevan2 9y agoUpvote for "don't change default file handler without asking".
- antonycourtney 9y agoReally sorry about this! I do specify Tad as a handler for CSV files, but becoming the default handler was not my intent at all; I will look into what's causing this.
- lloydjatkinson 9y agoAh of course it's a Node/Electron thing.
- lumost 9y agoOne area to consider growing this, existing SQL clients/viewers are pretty awful. It would be awesome if I could directly connect to a DB
- nerdponx 9y agoIf you use MySQL, you should definitely check out Sequel Pro. It's very polished and very usable.
- infinite8s 9y agoWhat kind of features are you looking for that are missing in apps like Postico?
- amelius 9y agoNice project page. If only there was a tool/service to create such project pages automatically.
- nerdponx 9y agoAre several, sort of. I think these kinds of pages are becoming more accessible to design and public with static site generators.
- aargh_aargh 9y agoDies immediately when launched on Debian Jessie: Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /tmp/.org.chromium.Chromium.ibqKoR) $ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX_ ... GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_DEBUG_MESSAGE_LENGTH
- Asooka 9y agoI think you should be able to rebuild the electron npm module from source to have a compatible runtime.
- johnlbevan2 9y agoFeature Suggestions (top level comment to hold various suggestions, so upvoting can be used per-suggestion to bubble the best to the top)
- johnlbevan2 9y agoAggregate Function: Count I've seen that COUNT is implemented for numeric values; but not for text. There's no reason to limit COUNT to numeric (unlike AVG and SUM).
- antonycourtney 9y agoGood points and great suggestions, thanks!
- johnlbevan2 9y agoAggregate Function: Count Distinct Like count, but only counts each distinct value once. Useful for judging data quality (i.e. if you have 600 items with 599 distinct values, chances are there's an invalid duplicate; if you have 1 distinct item chances are that column's not of interest; if you have a few distinct values, you have a potential pivot candidate, etc).
- johnlbevan2 9y agoDATE support. Help mentions INT REAL, and TEXT. Having support for dates would be useful; especially if this enables us to treat dates as multi-part values; e.g. pivot by year & month instead of by the complete value.
- johnlbevan2 9y agoQuick Filter i.e. Currently to add a filter you to the bottom, clicking filter, selecting a column name, selecting equals, entering a value. Instead, right clicking on a cell and selecting "filter > equals" would apply a filter to that column for values matching the selected cell's value. Likewise "filter > contains", "filter > does not equal", "filter > greater than or equal", etc. These filters would then be appended to the filter at the bottom, so could still be managed there; but just saves some effort when first populating.
- hougaard 9y agoThey lost me right at the front page. Left justification of numbers is just wrong...
- redgetan 9y agoA little UI comment if the the creator is reading this. It actually took me a while to find the search/filter button.. only to see that it's actually on the bottom. Perhaps make it more visible (on top maybe? and show the form right away instead of having to click the filter link).
- sullyj3 9y agoHow on earth did you not call it "Tada"?
- lucasgonze 9y agoI downloaded this when this post came up and have been using it steady. It's good. Reliable, does a job that needs doing, has a few bells and whistles. Definitely still early stage, but that will pass. I have showed it to a couple people I work with and they have started using it too.