rupesh has asked for the wisdom of the Perl Monks concerning the following question:
Using Hashes would be the best option for this sort of pattern matching I suppose, but I would like to have your point of view.
I have been making reports for senior management for the past 2 days and I've been thinking in the same way for this activity as well. Anyone have any better ideas?
The data is in the form of:
The case may change for the product and region.
And there may be (usually) multiple entries for the same date - the reason behind this activity.
Requirements:
1. For the year (2003), sort by month.
2. For one month (say Jan), get the product released for every day.
3. Automate that data to get into charts. What is required is a chart for every day for one month. For that day, I would need to show what products are released.
To begin with, I would need the data to understand which day of which month is a product(s) released.
Any thoughts?
Thanks,
Rupesh.
I have been making reports for senior management for the past 2 days and I've been thinking in the same way for this activity as well. Anyone have any better ideas?
The data is in the form of:
As you can see, the date is not sorted.Date(mm/dd/yyyy) Product Region .... 1/2/2003 Sample1 Site1 1/2/2003 Sample2 Site2 2/3/2003 Sample2 Site2 2/3/2003 Sample2 Site1 2/3/2003 Sample3 Site1 2/13/2003 SAmple2 Site4 1/5/2003 Sample1 SITE2 ..... ... ...
The case may change for the product and region.
And there may be (usually) multiple entries for the same date - the reason behind this activity.
Requirements:
1. For the year (2003), sort by month.
2. For one month (say Jan), get the product released for every day.
3. Automate that data to get into charts. What is required is a chart for every day for one month. For that day, I would need to show what products are released.
To begin with, I would need the data to understand which day of which month is a product(s) released.
Any thoughts?
Thanks,
Rupesh.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Data interpretation
by FoxtrotUniform (Prior) on Nov 03, 2004 at 04:36 UTC | |
by rupesh (Hermit) on Nov 03, 2004 at 04:44 UTC | |
by FoxtrotUniform (Prior) on Nov 03, 2004 at 04:46 UTC | |
by jZed (Prior) on Nov 03, 2004 at 05:03 UTC | |
by dragonchild (Archbishop) on Nov 03, 2004 at 05:17 UTC | |
by Anonymous Monk on Nov 03, 2004 at 10:51 UTC | |
Re: Data interpretation
by aquarium (Curate) on Nov 03, 2004 at 10:17 UTC | |
Re: Data interpretation
by TedPride (Priest) on Nov 04, 2004 at 09:44 UTC |
Back to
Seekers of Perl Wisdom