This commit is contained in:
ltcptgeneral 2019-03-21 15:25:36 -05:00
parent 8d65590fd4
commit 7b81385f58
20 changed files with 63 additions and 8 deletions

View File

@ -0,0 +1,3 @@
0.0
0.0,1.0
0.0
1 0.0
2 0.0,1.0
3 0.0

View File

@ -0,0 +1,3 @@
1.0
0.0,0.0
0.0
1 1.0
2 0.0,0.0
3 0.0

View File

@ -0,0 +1,3 @@
0.0
0.0,0.0
0.0
1 0.0
2 0.0,0.0
3 0.0

View File

@ -0,0 +1,3 @@
1.0
0.0,0.0
0.0
1 1.0
2 0.0,0.0
3 0.0

View File

@ -0,0 +1,3 @@
0.0
0.0,0.0
0.0
1 0.0
2 0.0,0.0
3 0.0

View File

@ -0,0 +1,3 @@
0.0
0.0,0.0
0.0
1 0.0
2 0.0,0.0
3 0.0

View File

@ -0,0 +1,3 @@
0.0
0.0,5.0
0.0
1 0.0
2 0.0,5.0
3 0.0

View File

@ -0,0 +1,3 @@
0.0
0.0,1.0
1.0
1 0.0
2 0.0,1.0
3 1.0

View File

@ -0,0 +1,3 @@
0.0
0.0,4.0
0.0
1 0.0
2 0.0,4.0
3 0.0

View File

@ -0,0 +1,3 @@
0.0
0.0,0.0
0.0
1 0.0
2 0.0,0.0
3 0.0

View File

@ -0,0 +1,3 @@
0.0
0.0,0.0
0.0
1 0.0
2 0.0,0.0
3 0.0

View File

@ -0,0 +1,3 @@
13.0
0.0,0.0
0.0
1 13.0
2 0.0,0.0
3 0.0

View File

@ -0,0 +1,3 @@
10.0
0.0,7.0
7.0
1 10.0
2 0.0,7.0
3 7.0

View File

@ -0,0 +1,3 @@
1.0
0.0,7.0
0.0
1 1.0
2 0.0,7.0
3 0.0

View File

@ -0,0 +1,3 @@
match-23
match-18,match-3
match-18
1 match-23
2 match-18,match-3
3 match-18

View File

@ -0,0 +1,3 @@
yeeee
,si papa
nine
1 yeeee
2 ,si papa
3 nine

View File

@ -0,0 +1,3 @@
Quantitative
Quantitative,Quantitative
Quantitative
1 Quantitative
2 Quantitative,Quantitative
3 Quantitative

View File

@ -0,0 +1,3 @@
team-2022
team-16,team-16
team-2451
1 team-2022
2 team-16,team-16
3 team-2451

View File

@ -221,6 +221,8 @@ def pulldata():
writer = csv.writer(file, delimiter = ',') writer = csv.writer(file, delimiter = ',')
writer.writerows(scores) writer.writerows(scores)
def service(): def service():
while True: while True:

View File

@ -24,10 +24,6 @@ for team in teams:
data.append(db.collection('data').document('team-2022').collection("Central 2019").document(team.id).collection("matches").document(report.id).get().to_dict()) data.append(db.collection('data').document('team-2022').collection("Central 2019").document(team.id).collection("matches").document(report.id).get().to_dict())
full.append(data) full.append(data)
print(len(full))
print(full)
quant_keys = [] quant_keys = []
list_teams = ["2022", "16", "2451"] list_teams = ["2022", "16", "2451"]
@ -56,8 +52,6 @@ for i in range(len(full)):
out.append(var) out.append(var)
#print(len(out))
sorted_out = [] sorted_out = []
for i in out: for i in out:
@ -94,5 +88,10 @@ for i in sorted_out:
big_out[j][team_index].append(i[j]) big_out[j][team_index].append(i[j])
print(big_out) for i in range(len(big_out)):
with open('data/' + j_list[i] + '.csv', "w+", newline = '') as file:
writer = csv.writer(file, delimiter = ',')
writer.writerows(big_out[i])