BloomTech-Labs / PT15-cityspire-d-ds

Labs PT15 - CitySpire - Team D - Data Science Repository
MIT License
0 stars 4 forks source link

Feature/Add weighted city score route #22

Closed danoand closed 3 years ago

danoand commented 3 years ago

Files Modified:

Details:

  1. In the overall city score route handler, call helper functions to generate the scores for each of a given city's livability dimensions: crime, air, walk,rent
  2. Accept the user's importance (rating of 1 to 10) of each of those dimensions
  3. Calculate a weighted average of the city score against the user's importance ratings
  4. Return the weighted average as that user's overall city score