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

Provide anomized reports of numerical needs assessments answers #62

Closed
2 tasks done
coderbyheart opened this issue Jun 21, 2022 · 3 comments
Closed
2 tasks done
Labels
enhancement New feature or request

Comments

@coderbyheart
Copy link
Member

coderbyheart commented Jun 21, 2022

The submission to needs assessments should be provided in a summarized form so they can be used to create summary reports.

However: all free text inputs must not be published, this especially includes identifying information like email addresses and information about individuals and groups.

Reports should include

  • an export of all submissions for an individual form maybe later
  • aggregates per quarter, region, and country

Preparations:

  • add country information to regions
  • numerical inputs units need to be described so they can be converted into a default unit (e.g. Rice has two units: Euro Pallet and kg; must provide conversion from Euro Pallet to kg)
@coderbyheart coderbyheart added the enhancement New feature or request label Jun 21, 2022
@coderbyheart
Copy link
Member Author

I've analized the question from the current form that ask for numbers, and have multiple units. Some of them can be converted, but the presence of multiple units does not automatically mean that a conversion is possible.

For example: Washing Detergent has 1L bottle and 5k bag as units, however they cannot be directly converted to each other. In this case a super-unit (wash cycles) needs to be added, which allows to compare both units.

Unit conversion table

Below is the unit conversion table. Please see the first row which shows an example definition of a question that defines three units for Water, where the base unit is liters, and also provides two alternative units and the factor that converts the alternative unit to the base unit.
The second row is another example that converts meters to centimeter and inches.

Name Base unit Alternative 1 In Base Units Alternative 2 In Base Units
Water Liter 5L bottle 5 333 ml can 0.333
Rope meters centimeters 0.01 inches 0.0254
Washing Detergent wash cycles 1L bottle   5k bag  
Rice Kilogram Euro pallets      
Potatoes Kilogram Euro pallets      
Onions Kilogram Euro pallets      
Garlic Kilogram Euro pallets      
Flour Kilogram Euro pallets      
Salt Kilogram Euro pallets      
Sugar Kilogram Euro pallets      
Oil Liter Euro pallets      
Milk Liter Euro pallets      
Canned Tomatoes Cans (№10 kitchen size) Euro pallets      
Canned Beans Cans (№10 kitchen size) Euro pallets      
Canned Fish Cans (№10 kitchen size) Euro pallets      
Sweetcorn Cans (№10 kitchen size) Euro pallets      
Tea Kilogram Euro pallets   servings  
Coffee Kilogram Euro pallets   servings  

@coderbyheart
Copy link
Member Author

Countries for regions used in the current form (some regions are a country):

ID Name Country
calais Calais/Dunkirk France
paris Paris France
chios Chios Greece
samos Samos Greece
lesvos Lesvos Greece
northernGreece Thessaloniki/Northern Mainland Greece Greece
southernGreece Athens/Southern Mainland Greece Greece
beirut Beirut Lebanon
bekka Bekka Valley Lebanon
saida Saida Lebanon
lebanon Lebanon other Lebanon
bosnia Bosnia Bosnia
serbia Serbia Serbia
ventimiglia Ventimiglia Italy
romania Romania Romania
poland Poland Poland
moldova Moldova Moldova
slovakia Slovakia Slovakia
hungary Hungary Hungary
croatia Croatia Croatia
other Other Other

coderbyheart added a commit that referenced this issue Jul 28, 2022
This allows to specify conversion instructions so that units can be
converted to a base unit, which allows to summarize numerical values
in responses.

See #62
coderbyheart added a commit that referenced this issue Jul 31, 2022
This adds a new question type "region" which allows to specify
a list of regions using a locality and a country code.

This is useful for allowing to provide summaries by country.

See #62
@coderbyheart
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant