Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
pp2021:project [2021/03/04 14:32] pdmatei |
pp2021:project [2021/03/04 19:24] (current) pdmatei |
||
|---|---|---|---|
| Line 20: | Line 20: | ||
| data Query = | data Query = | ||
| FromCSV String -- extract a table | FromCSV String -- extract a table | ||
| - | | ToCSV | + | | ToCSV Query |
| | AsList Query -- a column is turned into a list of values | | AsList Query -- a column is turned into a list of values | ||
| | forall a. Filter (FilterCondition a) Query | | forall a. Filter (FilterCondition a) Query | ||
| Line 34: | Line 34: | ||
| | HUnion Query Query -- 'horizontal union qlues' with zero logic more columns. TableJoin is the smart alternative | | HUnion Query Query -- 'horizontal union qlues' with zero logic more columns. TableJoin is the smart alternative | ||
| | NameDistanceQuery -- dedicated name query | | NameDistanceQuery -- dedicated name query | ||
| + | |||
| + | data QResult = CSV String | Table [[String]] | List [String] | ||
| + | |||
| </code> | </code> | ||
| Line 58: | Line 61: | ||
| ==== Task Set 4 (ATD) ==== | ==== Task Set 4 (ATD) ==== | ||
| - | * Implement the TDA for **query, **result**, and an evaluation function which couples the previous functionality. | + | * Implement the TDA for **query**, **result**, and an evaluation function which couples the previous functionality. |
| * Implement the TDA for filter, (with class ''Eval'') and use it to apply different combinations of filters to the dataset, for visualisation. | * Implement the TDA for filter, (with class ''Eval'') and use it to apply different combinations of filters to the dataset, for visualisation. | ||