This will be a GUI interface that will display the following with speed-dials below with scroll bar (though default is same size), iFrames or similar:
- iFrame: streaming text from a mongoDB called riverData and collection called ca. Four fields need to be displayed, for each displayed record, in column fashion, ‘body’, ‘name’, ‘rate’, ‘created_at’
‘created_at’ needs to be displayed as “mm-dd-yyyy hh:mm:ss”
Display a maximum of 50 records from each collection in the iFrame (or similar), showing the most recent (determined by created_at) record in each mongoDB first. Allow the user to scroll up/down. Allow ONLY a custom date range, and allow ONLY one ticker to be entered in the Ticker box.
Have a real-time interval switch, to auto refresh a custom time interval.
To the right of the speed dial will be a statistics field. This will show statistics for both RATE and VOLUME of river flow. There will be a separate database that stores this info, please work in code that will access a database called STATS1 that queries the chosen ticker and retrieves the average, ave, and standard deviation, sd, for BOTH RATING and VOLUME.
At the bottom, there needs to be a chart of the daily ratings of river flow AND the historical average (based on what date range the user chooses). The daily rating of river flow can be accessed in a database called STATS2, below. The historical rating is found in STATS 1 for the respective ticker the user chooses (same as above). Additionally, for each date, there will be a bar for the volume drawn.