OxfordDemSci / ICS_Analysis

Mixed methods approach and interactive dashboard to analyse research impact through Impact Case Studies submitted to the UK's Research Excellence Framework (REF) 2021.
https://shape-impact.co.uk
GNU General Public License v3.0
5 stars 0 forks source link

global/regional beneficiaries #62

Open doug-leasure opened 7 months ago

doug-leasure commented 7 months ago

The global and regional beneficiary tags that many impact case studies used are obscuring research that focused on an individual country versus research that included a country because it had global impact. We want to add a section to the Settings menu to allow users to toggle between these different types of impact to use when selecting countries form the Impact Beneficiaries map.

New settings menu section (showing default setting)...


Definition of a "beneficiary country": [ X ] Country-specific (country a beneficiary only if Impact Case Study explicitly listed it) [ X ] Union tags (country a beneficiary if Impact Case Study listed the union it belongs to; e.g. European Union) [ ] Region tag (country a beneficiary if Impact Case Study listed the region it belongs to; e.g. Global, Africa, etc.)

doug-leasure commented 7 months ago

@GISRedeDev , there are two columns in the main ICS table that will really help with this: region_extracted and union_extracted

GISRedeDev commented 7 months ago
doug-leasure commented 6 months ago

@GISRedeDev , the functionality in branch 62-globalregional-beneficiaries appears to be working correctly.

If you change the setting, I noticed that the popup on-hover in the beneficiaries map does not seem to update with the correct beneficiaries count until after you have clicked on a country to filter by beneficiary. Is this avoidable?

For example, with the default behaviour Democratic Republic of Congo (COD) has 269 beneficiaries. When you change the setting to only "Country" (i.e. include countries as a beneficiary only if they are explicitly named), the beneficiary count for COD decreases to 57 as expected, but the pop-up in the beneficiary map says 269 until after you click on COD. When you click on COD it looks like the pop-up beneficiary counts are then correct for all countries.

doug-leasure commented 6 months ago

@GISRedeDev, is it possible to allow a country with zero beneficiaries to still be selectable? For example, select Libya and then there are many countries with zero beneficiaries that can no longer be selected. This is not critical because it is possible to refresh the beneficiaries and then select a new country, but it would be smoother if the countries with zero beneficiaries could still be selected.

Please let me know how much work this would require.