mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
test
This commit is contained in:
parent
8d65590fd4
commit
7b81385f58
3
data analysis/data/SandstormCargoShipBalls.csv
Normal file
3
data analysis/data/SandstormCargoShipBalls.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
0.0
|
||||||
|
0.0,1.0
|
||||||
|
0.0
|
|
3
data analysis/data/SandstormCargoShipHatches.csv
Normal file
3
data analysis/data/SandstormCargoShipHatches.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
1.0
|
||||||
|
0.0,0.0
|
||||||
|
0.0
|
|
3
data analysis/data/SandstormLowerRocketBalls.csv
Normal file
3
data analysis/data/SandstormLowerRocketBalls.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
0.0
|
||||||
|
0.0,0.0
|
||||||
|
0.0
|
|
3
data analysis/data/SandstormLowerRocketHatches.csv
Normal file
3
data analysis/data/SandstormLowerRocketHatches.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
1.0
|
||||||
|
0.0,0.0
|
||||||
|
0.0
|
|
3
data analysis/data/SandstormUpperRocketBalls.csv
Normal file
3
data analysis/data/SandstormUpperRocketBalls.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
0.0
|
||||||
|
0.0,0.0
|
||||||
|
0.0
|
|
3
data analysis/data/SandstormUpperRocketHatches.csv
Normal file
3
data analysis/data/SandstormUpperRocketHatches.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
0.0
|
||||||
|
0.0,0.0
|
||||||
|
0.0
|
|
3
data analysis/data/TeleopCargoShipBalls.csv
Normal file
3
data analysis/data/TeleopCargoShipBalls.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
0.0
|
||||||
|
0.0,5.0
|
||||||
|
0.0
|
|
3
data analysis/data/TeleopCargoShipHatches.csv
Normal file
3
data analysis/data/TeleopCargoShipHatches.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
0.0
|
||||||
|
0.0,1.0
|
||||||
|
1.0
|
|
3
data analysis/data/TeleopLowerRocketBalls.csv
Normal file
3
data analysis/data/TeleopLowerRocketBalls.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
0.0
|
||||||
|
0.0,4.0
|
||||||
|
0.0
|
|
3
data analysis/data/TeleopLowerRocketHatches.csv
Normal file
3
data analysis/data/TeleopLowerRocketHatches.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
0.0
|
||||||
|
0.0,0.0
|
||||||
|
0.0
|
|
3
data analysis/data/TeleopUpperRocketBalls.csv
Normal file
3
data analysis/data/TeleopUpperRocketBalls.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
0.0
|
||||||
|
0.0,0.0
|
||||||
|
0.0
|
|
3
data analysis/data/TeleopUpperRocketHatches.csv
Normal file
3
data analysis/data/TeleopUpperRocketHatches.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
13.0
|
||||||
|
0.0,0.0
|
||||||
|
0.0
|
|
3
data analysis/data/cargoBalls.csv
Normal file
3
data analysis/data/cargoBalls.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
10.0
|
||||||
|
0.0,7.0
|
||||||
|
7.0
|
|
3
data analysis/data/hatchPanels.csv
Normal file
3
data analysis/data/hatchPanels.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
1.0
|
||||||
|
0.0,7.0
|
||||||
|
0.0
|
|
3
data analysis/data/match.csv
Normal file
3
data analysis/data/match.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
match-23
|
||||||
|
match-18,match-3
|
||||||
|
match-18
|
|
3
data analysis/data/notes.csv
Normal file
3
data analysis/data/notes.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
yeeee
|
||||||
|
,si papa
|
||||||
|
nine
|
|
3
data analysis/data/observationType.csv
Normal file
3
data analysis/data/observationType.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Quantitative
|
||||||
|
Quantitative,Quantitative
|
||||||
|
Quantitative
|
|
3
data analysis/data/teamDBRef.csv
Normal file
3
data analysis/data/teamDBRef.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
team-2022
|
||||||
|
team-16,team-16
|
||||||
|
team-2451
|
|
@ -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:
|
||||||
|
@ -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])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user