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

 
 

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

Submitter:  None
Submitted:  Mon 23 May 2011 06:16:09 PM UTC
   
 
Category:  System/Portable File I/O Severity:  1 - Wishlist
Status:  None Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

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

This has been fixed in the master branch.

John Darrington <jmd>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-07-01 jmd Open/ClosedOpen Closed
    2011-05-23 blp CategoryOther System/Portable File I/O
        Severity5 - Average 1 - Wishlist

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code