txt-sushi-0.4.0: Spreadsheets are databases!

Database.TxtSushi.Transform

Description

Simple table transformations

Synopsis

Documentation

sortColumns :: Ord a => [Int] -> [[a]] -> [[a]]Source

sort the given table on the given columns

joinTables :: Ord o => [(Int, Int)] -> [[o]] -> [[o]] -> [[o]]Source

join together two tables on the given column index pairs

crossJoinTables :: [[a]] -> [[a]] -> [[a]]Source

joinPresortedTables :: Ord o => [(Int, Int)] -> [[o]] -> [[o]] -> [[o]]Source

join together two tables that are presorted on the given column index pairs

rowComparison :: Ord a => [Int] -> [a] -> [a] -> OrderingSource

compare two rows based on given column balues