Want to use sed, python and R to parse, tidy and analyze data