team4909 / 2018-Core

2018 Scouting Platform
MIT License
10 stars 3 forks source link

CSV of Metrics #43

Closed roshanr10 closed 6 years ago

roshanr10 commented 6 years ago

I'd like for a CSV document similar to #42 that follows the same naming conventions, and has the same general data.

Once that's done, we can send it through the CSV upload -> JSON from #38, and ensure that both are the same.

jaspercoughlin commented 6 years ago

CSV

event_key,match_number,match_type,match_type_number,tean_number,scout_team,scout_initials,auto_crossed_line,auto_cubes_on_switch,auto_cubes_placed_on_scale,auto_cubes_exchanged,teleop_cubes_placed_on_switch,teleop_cubes_placed_on_scale,teleop_cubes_exchanged,teleop_cubes_from_portal,teleop_cubes_from_floor,teleop_cubes_dropped,endgame_climbed,endgame_lifted_others,comments_accurate_cube_placer,comments_opponent_auto,comments_not_present,comments_disabled,comments_robot_failure,comments_top_heavy,comments_reckless_driving,comments_foul,comments_card
2018marea,1,"SF",2,4909,3467,"JC",1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0

JSON


{
   "event_key": "2018marea",
   "match_number": 1,
   "match_type": "SF",
   "match_type_number": 2,
   "team_number": 4909,
   "scout_team": 3467,
   "scout_initials": "JC",

    "auto_crossed_line": 1,
    "auto_cubes_on_switch": 1,
    "auto_cubes_placed_on_scale":1,
    "auto_cubes_exchanged":1,

    "teleop_cubes_placed_on_switch":1,
    "teleop_cubes_placed_on_scale": 1,
    "teleop_cubes_exchanged": 1,
    "teleop_cubes_from_portal": 1,
    "teleop_cubes_from_floor": 1,
    "teleop_cubes_dropped": 0,

    "endgame_climbed": 1,
    "endgame_lifted_others": 1,

    "comments_accurate_cube_placer": 1,
    "comments_opponent_auto": 0,
    "comments_not_present": 0,
    "comments_disabled": 0,
    "comments_robot_failure": 0,
    "comments_top_heavy": 0,
    "comments_reckless_driving": 0,
    "comments_foul": 0,
    "comments_card": 0
}