cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
‘New to using JMP? Hit the ground running with the Early User Edition of Discovery Summit – register now, free of charge.
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
Choose Language Hide Translation Bar

How do I enter a filepath to automatically gather csv files via user input?

Hi all,

 

I have several csv files each with hundreds of data points that I would like to plot out as a histogram, and I would like to do that automatically with jump. 

 

For context, I've already been doing this with Python, but now I would to migrate over to JMP. Here's the idea:

-Open and run the script

-Script asks for location of csv files

-User types in the file path

-all the csv files are appended and one giant data table is created

-output is a histogram of all data points and a png i saved in a folder

 

How can I do this with jmp? I've been searching around the forum and haven't been able to find anything that would work for me, or the applications are a little different. I'm new to jmp so any help is greatly appreciated. 

2 REPLIES 2

Re: How do I enter a filepath to automatically gather csv files via user input?

I forgot to add, I already have a manual way of doing this; I just need to copy and paste the file path in the code, but a UI would be nice!

jthi
Super User

Re: How do I enter a filepath to automatically gather csv files via user input?

Very quickly checking your code, you are only missing Pick Directory() to let user select directory. If you need different kind of UI than what Pick Directory() provides, it can also be fairly easily built by constructing custom window using different display boxes. 

-Jarmo