This commit is contained in:
ltcptgeneral 2019-03-21 15:25:36 -05:00
parent 9f894428c1
commit 41ea4e9ed8
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

@ -220,6 +220,8 @@ def pulldata():
with open("data/scores.csv", "w+", newline = '') as file:
writer = csv.writer(file, delimiter = ',')
writer.writerows(scores)
def service():

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())
full.append(data)
print(len(full))
print(full)
quant_keys = []
list_teams = ["2022", "16", "2451"]
@ -54,9 +50,7 @@ for i in range(len(full)):
var[individual_keys[k]] = full[i][j].get(key).get(individual_keys[k])
out.append(var)
#print(len(out))
out.append(var)
sorted_out = []
@ -94,5 +88,10 @@ for i in sorted_out:
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])