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

Implement backend API endpoint for query 5 #22

Open
GoonerBrian opened this issue Mar 20, 2023 · 0 comments
Open

Implement backend API endpoint for query 5 #22

GoonerBrian opened this issue Mar 20, 2023 · 0 comments
Assignees

Comments

@GoonerBrian
Copy link
Owner

GoonerBrian commented Mar 20, 2023

Implement backend work for the following query from Deliverable 2:

Were countries with smaller harvested yield areas able to produce more crops?

This query will use the Country, Product, and Element entities, and will be connected through the Produces and Collection-method relations to

  • identify which 3 countries have the lowest average yield area for a specific crop,
  • identify which 3 countries have the highest average yield area for the same crop,
  • the average production of that crop for each country,
  • and calculate the ratio of yield area vs production for each country

This will allow the user to identify what, if any, trends exist between a country’s yield area and the amount of the crop they were able to produce.

@naserash naserash self-assigned this Apr 6, 2023
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

2 participants