bugPSPP - Bugs: bug #33381, add method to retrieve number of...

 
 

bug #33381: add method to retrieve number of cases from Perl interface

Submitted by:  None
Submitted on:  Mon 23 May 2011 06:16:09 PM UTC  
 
Category: System/Portable File I/OSeverity: 1 - Wishlist
Status: NoneAssigned to: None
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 01 Jul 2011 05:47:55 PM UTC, comment #1:

This has been fixed in the master branch.

John Darrington <jmd>
Project Administrator
Mon 23 May 2011 06:16:09 PM UTC, original submission:

Sometimes it is helpful to know the number of cases in a .sav file. For example, in loading large files, it is good to be able to show progress to the end user.

But right now, there is no way to get the total number of cases, other than scanning through all the records, which can be slow for large files. So this request is to add a new method like "get_num_cases", which could be called like this:

my $pspp = PSPP::Reader->open($file);
my $case_count = $pspp->get_num_cases();

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jmd (Posted a comment)
  • -unavailable- added by blp (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 01 Jul 2011 05:47:55 PM UTCjmdOpen/ClosedOpen=>Closed
    Mon 23 May 2011 06:22:08 PM UTCblpCategoryOther=>System/Portable File I/O
      Severity5 - Average=>1 - Wishlist

    Back to the top


    Powered by Savane 3.1-cleanup1