[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #33381] add method to retrieve number of cases from Perl
From: |
anonymous |
Subject: |
PSPP-BUG: [bug #33381] add method to retrieve number of cases from Perl interface |
Date: |
Mon, 23 May 2011 18:16:10 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 |
URL:
<http://savannah.gnu.org/bugs/?33381>
Summary: add method to retrieve number of cases from Perl
interface
Project: PSPP
Submitted by: None
Submitted on: Mon 23 May 2011 06:16:09 PM UTC
Category: Other
Severity: 5 - Average
Status: None
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: None
Effort: 0.00
_______________________________________________________
Details:
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();
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33381>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- PSPP-BUG: [bug #33381] add method to retrieve number of cases from Perl interface,
anonymous <=