I have large quatity of csv files that need to be clean up. All of these files have same format which make the task a bit easy. My initial csv file has the following format:
| Item Recipe: (001) 48pt | | | | | |
| Stage Recipe: 48pt | | | | | |
| Batch ID: Prod1 | | | | | |
| Item ID: 42 | | | | | |
| Date/Time: 5/1/2017 4:28:56 PM | | | | | |
| | | | | | |
| Point | Measurement | Gain | GFit | X | Y |
| 1 | 12.3 | 99.7 | 0.99 | 1 | 1 |
| 2 | 12.2 | 99.9 | 0.98 | 2 | 2 |
| 3 | 12.1 | 99.8 | 0.98 | 3 | 3 |
The first 6 rows need to be clean up. I'm thinking of getting the first 6 rows into a new table and transpose them. After the traspose, join the table with the other section. My ideal JMP table is the following:
| Item Recipe: | Stage Recipe: | Batch ID: | Item ID: | Date/Time: | Point | Measurement | Gain | GFit | X | Y |
| (001) 48pt | 48pt | Prod1 | 42 | 5/1/2017 4:28:56 PM | 1 | 12.3 | 99.7 | 0.99 | 1 | 1 |
| (001) 48pt | 48pt | Prod1 | 42 | 5/1/2017 4:28:56 PM | 2 | 12.2 | 99.9 | 0.98 | 2 | 2 |
| (001) 48pt | 48pt | Prod1 | 42 | 5/1/2017 4:28:56 PM | 3 | 12.1 | 99.8 | 0.98 | 3 | 3 |
| | | | | | | | | | | |
I'm trying a jsl script but it is behond my capability at the moment. Can someone give me an idea how to get this accomplish?
Thank you