Skip to content
Jason Charney edited this page Apr 18, 2016 · 3 revisions

🚧 UNDER CONSTRUCTION! This is a new page. As such, it is under construction.

:info: This page is part of a series on [Data Science](Data Science).

According to its website, "Tabula is a tool for liberating data tables locked in PDF files." What this really means is that it allows you a means to extract table data that is in a PDF and export it to a CSV file that can be put into a Microsoft Excel or [Open Office](Open Office) Calc spreadsheet. Tabula is written in Ruby, though it does use some Java stuff that requires JRuby. From the build.xml file that is the tabula directory, it looks like we'll need [Apache Ant](Apache Ant).

Installation

$ cd ~/Software
$ curl -SLO https://github.com/tabulapdf/tabula/releases/download/v1.0.1/tabula-jar-1.0.1.zip
$ unzip tabula-jar-1.0.1.zip
$ sudo mv tabula /opt/
$ cd /opt/tabula
$ java -Dfile.encoding=utf-8 -Xms256M -Xmx1024M -jar tabula.jar

In Chromium, open https://127.0.0.1:8080/ or use another computer to access Tabula at port 8080.

Press Ctrl+C to close Tabula.

gem install bundler
gem install tabula-extractor
bundle install

Usage

Tabula uses Java and requires the use of a graphical browser. Chromium should work and should be able to read PDFs like Chrome.

You will be able to use Tabula at http://127.0.0.1:8080/

See Also

Links

Setup

  1. [Assemble the Hardware](Assemble the Hardware)
  2. [Install the Software](Install the Software)
  3. 🆙 [Setup your Raspberry Pi](Setup your Raspberry Pi)
  4. [Download the Missing Parts](Download the Missing Parts)

Typical Utilities

  • [Downloading and extracting with curl and tar](curl and tar)
  • [Browsing with ls and cat](ls and cat)
  • [Searching with grep and find](grep and find)
  • [Filtering with sed and awk](sed and awk)
  • [Piping with less, pv, and tee](less, pv, and tee)
  • Monitor your system with htop
  • Multiplex with tmux

Clone this wiki locally