Closed mjennings061 closed 6 months ago
Possible SQL solution:
MongoDB charts does not support this level of grouping. A separate collection should be created as a summary for each pilot The processing should be done in python to do the following:
for name in AircraftCommander:
select where AircraftCommander == name in log_sheets as commander
select where SecondPilot == name in log_sheets as second
select where Duty is AGT, SCT U/T or SCT QGI in second
union commander and second
add to "Pilot" collection under name
As a pilot, I want to have a quarterly summary provided by this program, so that I can save time calculating my launches for the quarter.
Required outputs:
Possible implementation:
AircraftCommander == Name
Duty == SCT && SecondPilot == Name