IDEMSInternational / R-Instat

A statistics software package powered by R
http://r-instat.org/
GNU General Public License v3.0
38 stars 102 forks source link

Enhance the Export to Google Buckets dialog #8979

Open rdstern opened 1 month ago

rdstern commented 1 month ago

a) @Vitalis95 one trivial improvement is to add the help context number. It is 692. (It won't do anything until the new help file is loaded.)

Then, initially some minor changes as I look at the dialog for the first time:

b) The top control says Data. I think you mean Date. c) The other fields on the right should auto-fill, if a station has been defined as climatic. If that is new to you, then perhaps get @MeSophie to make these changes, as she has done that on other dialogs.

d) The Country control should be a drop down, with presumably malawi and zambia available? Maybe allow typing in too, so other countries could be added, without changing the dialog.

Possibly worth merging with just these changes, because my suggestions below will take longer!

Here is the current dialog:

image

I propose you should be able to export the definitions for a set of stations, without having to have their data. If so, then you do this via a separate data frame for the stations.

The dialog is as at present, and with the data for at least one station. You now set up the definitions for that data file.

There is another data selector for the Stations. This is called perhaps Station dataand is below the current data selector. It is a checkbox, default unchecked.

The current Summaries box moves right in the dialog, so there is room for the second data selector.

If Station Data is checked, then the second data selector is visible and available. We assume the data book includes the station details for a whole set of stations. You now choose the Station receiver from that file instead of the data file. You may need to apply a filter, so it contains just those stations for which your current definitions apply.

If the stations comes from the second data selector, then the checkbox Include Summary Data is disabled. (If the station list is from a separate file you can only export the definitions.

If that option is chosen then the definions are repeated for every station in the station list and sent to Google buckets.