Categories: None [Edit]
fat_table
FatTable is a gem that treats tables as a data type. It provides methods for
constructing tables from a variety of sources, building them row-by-row,
extracting rows, columns, and cells, and performing aggregate operations on
columns. It also provides as set of SQL-esque methods for manipulating table
objects: select for filtering by columns or for creating new columns, where
for filtering by rows, order_by for sorting rows, distinct for eliminating
duplicate rows, group_by for aggregating multiple rows into single rows and
applying column aggregate methods to ungrouped columns, a collection of join
methods for combining tables, and more.
Furthermore, FatTable provides methods for formatting tables and producing
output that targets various output media: text, ANSI terminals, ruby data
structures, LaTeX tables, Emacs org-mode tables, and more. The formatting
methods can specify cell formatting in a way that is uniform across all the
output methods and can also decorate the output with any number of footers,
including group footers. FatTable applies formatting directives to the extent
they makes sense for the output medium and treats other formatting directives as
no-ops.
FatTable can be used to perform operations on data that are naturally best
conceived of as tables, which in my experience is quite often. It can also serve
as a foundation for providing reporting functions where flexibility about the
output medium can be quite useful. Finally FatTable can be used within Emacs
org-mode files in code blocks targeting the Ruby language. Org mode tables are
presented to a ruby code block as an array of arrays, so FatTable can read
them in with its .from_aoa constructor. A FatTable table can output as an
array of arrays with its .to_aoa output function and will be rendered in an
org-mode buffer as an org-table, ready for processing by other code blocks.
Total
Ranking: 32,918 of 183,107
Downloads: 34,975
Daily
Ranking: 42,025 of 183,092
Downloads: 2
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Depends on
Rank | Downloads | Name |
---|---|---|
1 | 2,407,087,911 | bundler |
10 | 953,844,246 | rake |
25 | 817,849,894 | rspec |
60 | 482,911,764 | rainbow |
68 | 466,913,746 | pry |
99 | 348,223,614 | simplecov |
103 | 336,422,350 | pg |
197 | 183,546,275 | rubocop-rspec |
200 | 180,259,600 | rubocop-performance |
253 | 141,523,763 | sqlite3 |
392 | 93,021,715 | redcarpet |
761 | 55,219,882 | sequel |
881 | 43,772,616 | debug |
1,008 | 36,381,878 | pry-doc |
7,542 | 425,400 | gem-path |
11,697 | 177,003 | fat_core |
Owners
# | Gravatar | Handle |
---|---|---|
1 | ddoherty57 |