java port of https://github.com/github/dat-science