cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
mochar
Level III

Add a csv to a JMP Data Table

Hi all. I've looked around to see if there is a script that adds/imports a csv file while still keeping the old data.

 

My objective is to have a master JMP file. Then everytime I test a different device/different date, I would like it to be added to the master JMP Data table without overwriting it. I've seen code that meshes all csv files in a folder, but I would like it for just one csv file at a time. (All files have the same columns)

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Add a csv to a JMP Data Table

You are thinking too hard.  This is a simple straight forward task

names default to here(1);

dt = Open("<path to the master jmp file>);

dtNew = Open("<path to the new csv file>);

dt << concatenate( dtNew, append to first table(1));

dt << save(<path to the master jmp file>);
Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: Add a csv to a JMP Data Table

You are thinking too hard.  This is a simple straight forward task

names default to here(1);

dt = Open("<path to the master jmp file>);

dtNew = Open("<path to the new csv file>);

dt << concatenate( dtNew, append to first table(1));

dt << save(<path to the master jmp file>);
Jim