cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP Wish List

We want to hear your ideas for improving JMP software.

  1. Search: Please search for an existing idea first before submitting a new idea.
  2. Submit: Post your new idea using the Suggest an Idea button. Please submit one actionable idea per post rather than a single post with multiple ideas.
  3. Kudo & Comment Kudo ideas you like, and comment to add to an idea.
  4. Subscribe: Follow the status of ideas you like. Refer to status definitions to understand where an idea is in its lifecycle. (You are automatically subscribed to ideas you've submitted or commented on.)

We consider several factors when looking for what ideas to add to JMP. This includes what will have the greatest benefit to our customers based on scope, needs and current resources. Product ideas help us decide what features to work on next. Additionally, we often look to ideas for inspiration on how to add value to developments already in our pipeline or enhancements to new or existing features.

Choose Language Hide Translation Bar

Multi-File-Import: restrict number of lines to read

What inspired this wish list request?

MFI is a versatile tool to load multiple files at once. 

There are many settings to adjust the behavior like:  import as table/rows, adjust separators ...

For the header, there are options to specify the first header line and the number of header lines.
For the data, unfortunately, there is just an option to specify the first line with data - but no option to restrict the number of lines to read
MFI: load some rows 

hogi_0-1693985159781.png

 

 

What is the improvement you would like to see? 

Please add an option to specify the number of lines to read.

 

Why is this idea important? 

If a restricted number of rows has to be read [e.g. if the user wants to read (part of) a complicated header], the only way at the moment is to read the whole file and then delete the unwanted part.

The new option to restrict the number of lines to read will make MFI more versatile - and faster for cases where just a part of the file has to be read.
It can be extremely useful in combination with the option

<<Set Import Mode( "Row Per Line" ) 

 

4 Comments
Craige_Hales
Super User

Take a look at the random sample options from the other csv import so this can look similar.

I think there is a request to ignore comment lines identified by a prefix, as long as you are in that code.

hogi
Level XI

ah, thanks, even more options that make sense.

a pity that the options are just available in the open csv dialog:

hogi_0-1694029226951.png

 

hogi
Level XI

Another thing:
There are files with "header" lines below the data block (some infos about the measurement system). So, somehow a "footer".
At the moment, without the possibility to restrict the length of the read-in data block, such lines can ruin the data import.

 

With the new option to specify the number of lines to read , the issue can be solved.

but most likely, the data block doen't have a specific length.


So perhaps, in addition to
- End of Field characters

- End of Line characters

hogi_0-1694029719779.png

 

Jmp could ask for a  

- end of DATA block character sequence 

e.g.: data block ends if there are 2 consecutive newLines:
MFI (<< end of DATA block("\!n\!n"))

hogi
Level XI

@Sarah-Sylvestre .
-> wish can be marked as Duplicate.

There is already a wish form 2019 - with status Acknowledged:
a way to specify when the data ends or the number of data rows to import when using multiple files i... 

 

let's hope that it will get accepted soon ...