Editing Twitter Analysis DB GUI
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | = Overview = | + | = Overview ( early version ) = |
− | The GUI or graphical user interface is the key to using the Twitter Analysis DB. | + | The GUI or graphical user interface is the key to using the Twitter Analysis DB. In addition, the parameter file . This page is the documentation for the GUI. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Screen Shot == | == Screen Shot == | ||
− | This is what it looks like, details on each part below. Still working on it, | + | This is what it looks like, details on each part below. Still working on it, mostly to clean up the details. Note that this screen shot was taken during a debugging session and has some artifacts that will soon disappear, then a new screen shot will be placed here. |
− | [[File: | + | [[File:ta_window.png | 1000x2500px]] |
<!----------- | <!----------- | ||
Line 31: | Line 19: | ||
-------------> | -------------> | ||
− | = What Does What: The | + | = What Does What: The Controls = |
− | Control is mostly through | + | Control is mostly through buttons, sometimes supplemented by text fields. Outside of the GUI there is also a parameter file which controls start up and item like database file name. The large rectangle at the bottom left, a text area, is where information messages are displayed. It is referred to as the message area. |
Working from top to bottom: | Working from top to bottom: | ||
Line 39: | Line 27: | ||
== At the Top == | == At the Top == | ||
* <Window title> Program name and some additional info including version and mode. | * <Window title> Program name and some additional info including version and mode. | ||
− | * <ID Color Band >The green | + | * <ID Color Band >The green band under the title is an optional component, its height and color is set in the parameter file. It is normally useful only if you are running 2 instances of the application and want a quick way to tell them apart. |
− | == | + | == Firs Button Row == |
− | |||
* <Edit Log> opens an editor on the system ( needs to be configured in parameter file self.ex_editor = <name of executable or link> ) to view the python logging file for the app. | * <Edit Log> opens an editor on the system ( needs to be configured in parameter file self.ex_editor = <name of executable or link> ) to view the python logging file for the app. | ||
− | * <Edit Parms > opens an editor on the system to edit the parameters.py file. See <Edit Log>. | + | * <Edit Parms > opens an editor on the system to edit the parameters.py file. See <Edit Log>. This editor is use to view .txt and .csv output. Its proper configuration is important. |
* <Restart> Restarts the application ( usually fast ) using new values ( if any ) in the parameter file(s). | * <Restart> Restarts the application ( usually fast ) using new values ( if any ) in the parameter file(s). | ||
* <Test> May not be present, for debugging, not generally useful or predictable, you would need to look through the code to see what it might be doing, press at your own risk. | * <Test> May not be present, for debugging, not generally useful or predictable, you would need to look through the code to see what it might be doing, press at your own risk. | ||
* <Help> Link to this documentation. | * <Help> Link to this documentation. | ||
− | * <About> Bit of information on the program, the usual | + | * <About> Bit of information on the program, the usual stuff |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | == Select Vaues == | ||
+ | Pairs of labels and widgets for input. Used in selects. Not all values are used for all selects. | ||
− | * | + | * Word Search: |
− | * | + | * Output Format: |
− | * | + | * Is Covid: |
− | * | + | * Max Rank: |
− | * | + | * Min Count: |
− | |||
− | |||
− | |||
− | == | + | == Select Action Buttons == |
+ | Each button runs some selection on the database based on the Select Values in the area above. Prior to the execution of the selection you will be shown ( in the message area ) the help for the selection and the sql and data for the query. You can then cancel or continue. This ( with the cancel ) is a good way to get help on each selection. | ||
− | * | + | * <Select Tweets> |
− | * | + | * <Word Count>> |
− | + | * <Tweets for Word>> | |
− | + | * <TBD>> | |
− | + | * <TBD>> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | *< | ||
− | *< | ||
− | |||
− | *< | ||
− | |||
== Message Area == | == Message Area == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
* <Column of Buttons and Text Panel> The Panel shows program activity and some other info ( like the sql used in a query ) the buttons act on this data in some way. You might be able type in the text panel, to no particular effect, perhaps could use this to make notes. Text is partly erased from time to time depending on settings in parameter file(s) | * <Column of Buttons and Text Panel> The Panel shows program activity and some other info ( like the sql used in a query ) the buttons act on this data in some way. You might be able type in the text panel, to no particular effect, perhaps could use this to make notes. Text is partly erased from time to time depending on settings in parameter file(s) |