I have some data that I need to re-organise so that it looks a lot nicer and easier to read. Basically I have a list of site names with dates and then a result. But I want to get it into the format of (column headers) name, date, chemical 1, chemical 2, chemical 3.
This part I can managed, but when i transpose the information I realised that there could potentially be several readings for the same site on the same date. I would like to get it so that all readins taken on the same day are in one line eg:
name date chemical 1 chemical 2 chemcial 3
site a 01/01/09 0.1 0.0 1.5
site a 05/02/09 0.1 0.3 0.9
site b 01/01/09 1.2 1.7 <0.01
where as at the moment I am getting
name date chem 1 chem 2 chem 3
site a 01/01/09 0.1
site a 01/01/09 0.0
site a 01/01/09 1.5
site a 05/02/09 0.1
site a 05/02/09 0.3
etc
Bookmarks