International Simulation Football League
Team Spreadsheet TPE Calculator - Printable Version

+- International Simulation Football League (https://forums.sim-football.com)
+-- Forum: Community (https://forums.sim-football.com/forumdisplay.php?fid=5)
+--- Forum: Media (https://forums.sim-football.com/forumdisplay.php?fid=37)
+---- Forum: Graded Statistical Analysis (https://forums.sim-football.com/forumdisplay.php?fid=153)
+---- Thread: Team Spreadsheet TPE Calculator (/showthread.php?tid=2265)



Team Spreadsheet TPE Calculator - Noppadet - 07-17-2017

I made this one by request.

Link:
https://jsfiddle.net/Noppadet/nu7143d0/

It basically creates a line-by-line TPE total for players in a team spreadsheet. The data needs to be tab delimited, but you can pretty quickly use a CSV if you replace:

Code:
var values = lines[i].split('\t');

with

Code:
var values = lines[i].split(',');

in the javascript code.

This one doesn't have much general use so I won't go into it a bunch like the individual calculator, but feel free to ask questions if you have any. I left 2 players from testing in there to show how it works, and how data needs to be arranged.

For graders if it matters it took 2 hours.


GRADED