A
Agrajag
I'm in a fantasy football league I'm in that's extremely numbers-based
Lots of data analysis to do (fictional players so it's year round wit
several seasons each year).
The league provides a massive CSV file that contains all data for al
players in the entire league. This is a large-ish file with 2700 player
and all their attribute data (name, position, height, weight, strength
intelligence, speed, etc.) There are literally dozens of attributes an
all of them appear in the master CSV even though each position only use
a subset of them (a Center has a "Snapping" attribute (his ability t
snap the ball to the quarterback) while a Running Back would have n
such value there as he never does that.)
The main issue is to then have sheets for each position to make viewin
and analysis simpler. Plus, this data changes often so the goal is t
just be able to re-populate the master sheet as needed and hav
everything else auto-populate. Nothing will happen on the master sheet
It's just a placeholder of all the data.
I'd then have a sheet for each unique position type. One for a Q
(quarterback) and that would need to look at the master sheet and fin
all entries where Position = QB and copy those rows to the QB sheet.
However, remember that each position only uses a subset of the overal
attributes so I wouldn't want to grab the full row. I'd only want to ge
specific parts of the row relevant to each position ignoring anythin
unneeded.
Then, lastly, on those position-based sheets that's where all m
calculations will be. Players are rated in each attribute on a scale o
0-99 and my approach gives players a "bonus" for being above a certai
number for each attribute but a heavy "penalty" for being below tha
number.
As an example, take an offensive lineman. Strength is a key attribut
for them. To be a good lineman you must have a strength of at least 80
My calculation for Strength for linemen might be 1 and 10. In othe
words, for every point above 80 you get a point but for every poin
below 80 you lose 10 points.
The point of the above is to make it clear that each positional shee
will have lots of formulas and such on it so there's more to conside
than just dumping data from one sheet to another. The target sheet als
needs to be able to preserve the formulas that are there.
How can I automate this?
Thanks...
Lots of data analysis to do (fictional players so it's year round wit
several seasons each year).
The league provides a massive CSV file that contains all data for al
players in the entire league. This is a large-ish file with 2700 player
and all their attribute data (name, position, height, weight, strength
intelligence, speed, etc.) There are literally dozens of attributes an
all of them appear in the master CSV even though each position only use
a subset of them (a Center has a "Snapping" attribute (his ability t
snap the ball to the quarterback) while a Running Back would have n
such value there as he never does that.)
The main issue is to then have sheets for each position to make viewin
and analysis simpler. Plus, this data changes often so the goal is t
just be able to re-populate the master sheet as needed and hav
everything else auto-populate. Nothing will happen on the master sheet
It's just a placeholder of all the data.
I'd then have a sheet for each unique position type. One for a Q
(quarterback) and that would need to look at the master sheet and fin
all entries where Position = QB and copy those rows to the QB sheet.
However, remember that each position only uses a subset of the overal
attributes so I wouldn't want to grab the full row. I'd only want to ge
specific parts of the row relevant to each position ignoring anythin
unneeded.
Then, lastly, on those position-based sheets that's where all m
calculations will be. Players are rated in each attribute on a scale o
0-99 and my approach gives players a "bonus" for being above a certai
number for each attribute but a heavy "penalty" for being below tha
number.
As an example, take an offensive lineman. Strength is a key attribut
for them. To be a good lineman you must have a strength of at least 80
My calculation for Strength for linemen might be 1 and 10. In othe
words, for every point above 80 you get a point but for every poin
below 80 you lose 10 points.
The point of the above is to make it clear that each positional shee
will have lots of formulas and such on it so there's more to conside
than just dumping data from one sheet to another. The target sheet als
needs to be able to preserve the formulas that are there.
How can I automate this?
Thanks...