Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy indicator filter checkboxes to upstream and downstream columns #50

Open
localsite opened this issue May 6, 2021 · 4 comments
Open

Comments

@localsite
Copy link

Add "Unselect All" as the third option in the commodity sort filters.
(Unselect the values in the column, but leave existing indicator filters checked in the filter popup.)
This will provide a quick way to uncheck everything, then check one commodity.

Copy the indicator sort options to the upstream and downstream columns. Currently those columns just have 2 choices: Alphabetical and Impact. (The "Impact" choice is currently hardcoded to Value Added.)

https://thetisiboth.github.io/useeio-widget-builds/slider.html

Include the other sort filters (from the top of the commodity sort options) when adding to the other two columns.

@TheTisiboth
Copy link
Contributor

But we cannot have any influence on what there is on upstream and downstream (there is nothing to check, so Choose All, Choose All Visible, Unselect All, etc would be irrelevant).
And sorting by indicator would be also irrelevant since the results are just input/output in $, so there is nothing to sort.
So I think there is nothing that we could add to those menus. Am I right @msrocka ?

TheTisiboth added a commit to TheTisiboth/useeio-widgets that referenced this issue May 7, 2021
@localsite
Copy link
Author

localsite commented May 9, 2021

It seems like we should be able to sort the inflow/outflow by indicator, since the SSM tool sorts the various indicator levels in pie charts to display the "Contribution of Supply Chain Goods & Services By Indicator" under the "Supply Chain Hotspots" tab.
https://www.epa.gov/smm/organizational-smm-prioritization-tool

Given the interest of identifying supply chain hotspots, checkboxes would allow users to select the supply areas they are interested in focusing on to see which one ranks the highest when multiple indicators are selected. Same would apply for the outflow from an industry.

Granted, the checkboxes in the inflow and outflow columns would not influence the other column, but they would allow the user to control which commodities are in the sort comparison, which could then drive subsequent supplier/buyer reports further down the page. This would allow for future integration with the SMM site to create custom pie charts based on sectors of interest. Here's an existing inflow ranking chart from the SMM site:

image

@TheTisiboth
Copy link
Contributor

Oh ok I see. But then what would be the exact specifications of this feature:

  • we would have checkboxes for each input/output flow, but what would be the behaviour of those checkboxes ?
  • we could sort by indicators, but should the indicators for the input/output flows be sync (thanks to the URL config) with the commotidies (the middle table), or how should we decide to do ?

@localsite
Copy link
Author

localsite commented May 11, 2021

Add two new URL parameters: inflow-indicators and outflow-indicators.
Omit these extra parameters by default and sync the 3 columns when the user uses the middle column to sort.
Put the extra parameters in the URL only when the sort is checked in the inflow or outflow columns.

This will allow a user to say: Show me which suppliers use the most water for commodities with the highest green house gas emissions. And which resulting services use the most energy and land. etc.

@localsite localsite changed the title Add "Unselect All" and copy indicator filter checkboxes to upstream and downstream columns Copy indicator filter checkboxes to upstream and downstream columns May 12, 2021
@LorenHeyns LorenHeyns added the currrent To be included in next release label May 12, 2021
@LorenHeyns LorenHeyns removed the currrent To be included in next release label Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants