Skip to content

MeghanPund/switcherWorkSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Switcher Work Sample

Utilizes the Teleport API to display Urban Area data

Assignment from Matt H. as follows:

Your task is to create a UI that compares two Urban Areas using the free Teleport API:

[(https://developers.teleport.org/api/)]

There are three minimum requirements we'd like implemented.

  1. User should be able to select two urban areas from the Teleport API to compare.

  2. Once two urban areas are selected, present the user with a comparison of the urban areas.

  3. Choose at least 5 data points to compare and display those.

Use whatever technology you are most comfortable with to complete this task. Try to spend no more than 90 minutes on this task.

To Run My Program

  1. Create a virtual environment
  • CD to current directory
  • if on Windows: py -3 -m venv venv
  • if on mac/linux: python3 -m venv venv
  1. Activate the environment
  • Windows: venv\Scripts\activate
  • mac/linux: . venv/bin/activate
  1. pip install flask
  • inside the venv, enter into the command prompt: pip install flask
  1. pip install requests
  • inside the venv, enter into the command prompt: pip install requests
  1. Run the program!
  • inside the venv, enter into the command prompt: python main.py

Requirements Fulfilled

  1. User should be able to select two urban areas from the Teleport API to compare.
  • dropdown menus of all Urban Areas presented on home page
  1. Once two urban areas are selected, present the user with a comparison of the urban areas.
  • Side by side comparison of UAs and their data points on uadata page
  1. Choose at least 5 data points to compare and display those.
  • cities within Urban Areas, population sizes, life expectancies, elevations, crime rates

About

Work sample for Matt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published