ITHIM / ITHIM-R

Development of the ITHIM-R, also known as ITHIM version 3.0. Started in January 2018.
https://ithim.github.io/ITHIM-R/
GNU General Public License v3.0
19 stars 11 forks source link

Shiny Tool Prototype Outline #23

Open gotom22 opened 6 years ago

gotom22 commented 6 years ago

For April it would be helpful to have a "mock" framework for the tool in shiny, ideally with parts functional. See Wiki for possible tool structure and review various inputs (e.g. @nmaizlish 's work on UI).

I assign @usr110 , but obviously a group effort to hash out.

gotom22 commented 6 years ago

align with flowchart development

JDWoodcock commented 6 years ago

@nmaizlish

gotom22 commented 6 years ago

I have transferred @nmaizlish wireframes to master flowchart

gotom22 commented 6 years ago

Could we rebuild @markotainio mock "trip distance slider graph" presented in call on 3/15 as a shiny input feature? As a scenario pilot gadget?

usr110 commented 6 years ago

I've just created a simple app which allows users to select a range of the plot (using mouse by pressing the right click button), and then the selected area is displayed in another plot. Please see attached a screenshot

screenshot-2018-3-21 http 127 0 0 1

You may run the app locally as: shiny::runGitHub("ITHIM/ithim-r-interface")

This mimics the idea shared by @markotainio to select which trips may be converted into cycling trips.

This is of course proof of concept of the gadget that users may be able to select part of plots to specify a new scenario.

gotom22 commented 6 years ago

...speaking like a true non-programmer, I would prioritize along the following order:

  1. which features will we need? (ie. what info will the user provide, what info will the tool get from this?)
  2. how should these look like? (visually, functionallity, "slider or button"?)
  3. (only thereafter) figure out feasibility within shiny (in my experience, most things can be done in shiny)

...I believe above may address 1, but probably needs tweaking on 2. (but you may have had a specific use in mind already)

gotom22 commented 6 years ago

@usr110 Nice work!

Some feedback on mock version for Thiago. If you invest time for quick fixes, I think in bold are the priorities. User case study:

Predefined case studies Accra

England

nmaizlish commented 6 years ago

Hi, sorry I missed the call on this, but I am a bit confused. What the bar charts seem to show is the distribution of trips by trip length. This is useful but in the context of scenario generation/comparison, it would be also helpful to see how the distribution changes between the baseline and scenario. For this two series can be plotted together perhaps a smoothed lines. I also think that creating user-selected gradations of complexity may be useful. For example, via radio buttons, perhaps travel distance means or medians might be a choice along with increasingly complex graphs such as these (with the ability to stratify the graphs by mode (walk, bike, total).