Merge and aggregate datasets: Difference between revisions

m
m (→‎Reading and merging: simplified a bit)
Line 699:
, "SCORES SUM","SCORES AVG"]
fields = [ pid
, \p -> case name p of {Nothing ->fromMaybe []; Just. n -> n}name
, \p -> case visits p of {[] -> []; l -> last l}
, \p -> case scores p of {[] -> []; s -> show (sum s)}
Anonymous user