Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Scripting data extraction from excel files in a directory.

by sgt (Deacon)
on Jul 09, 2007 at 21:34 UTC ( [id://625716]=note: print w/replies, xml ) Need Help??


in reply to Scripting data extraction from excel files in a directory.

Are the files big? If not, say each file <50M, I would read all the excel files using Spreadsheet::ParseExcel and create some dbm-like database (perl hash on disk) with some extra fields to later ease up your task of summarizing the data.

For this simple "database" the modules AnyDBM_File, MLDBM or DBM::Deep come to mind or even simple serializing to a file using YAML o Data::Dumper-like modules.

Maybe you can use a common origin in days to facilitate the drawing of a chart or table so that a pre-calculated record could be: issue, date0, date1, date1 - date0 (in days), day0, day1 (day0 and day1 taken with respect to an arbitrary origin -- easy to do with Date::Manip or Date::Calc). For the drawing I would use one of the Chart::* modules or gnuplot.

cheers --stephan
  • Comment on Re: Scripting data extraction from excel files in a directory.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://625716]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-19 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found