Hello,
I'm not sure if there's a great solution for my specific problem, but I'd love to hear thoughts from the experts...
In my utilization of JMP 17, I often add new data to an existing file. Each row will have its own unique "batch number" assigned to it. When I get a new set of data, there will be new batch numbers that I need to add to my existing file. To date, the easiest way to do this would be just to copy the new batch numbers over to the master file and run a Table Update function to bring all of the necessary data over, but I'm looking for an option to do this in a more automated fashion to reduce the "data processing" time.
Essentially the bottom line is, am I stuck using one of the methods below, or is there a more creative way I can accomplish this task through JSL?
What I've tried:
- Add rows and then highlight the last couple batch numbers and Fill -> Continue Sequence to End of Table
- Adding rows can be accomplished through JSL, but I've struggled to find an autonomous way to fill to the end of the table...
- Copy and paste batch numbers from the data import into the data master, then run an Update Table function to pull the rest of the data in
- Tried-and-true method that works well every time, just need it to be a little more automated than this.
- Concatenate data tables and then delete the duplicates
- This worked really well, but sometimes the data in the last handful of rows are incomplete in the master, but would be complete with the data update. Using this method deletes the older duplicates when it would be more ideal to keep the newer duplicates. This method could work really well if I could keep the newer duplicates.
- Utilize a Row() formula in an adjacent column or for the batch number column itself.
- We almost never start on Batch #1, but this is easily accommodated by adding Row()+(a number). i.e. if the first batch is 6543, then my formula would be [Row() + 6542] and the correct count would be calculated.
- This also would work well, but sometimes batch numbers are skipped. This would cause the calculated column not to match the batch number column unless I want to have gaps in the data at times