Gareth, Alison, Megan, & Syd
Our project is composed of the following:
-
Django Website:
- Interactive Website for displaying our data and results
-
Data:
- A database containing information on resorts and their current and predicted weather.
- A database ranking major cities by their acess to resorts
-
Algorithms:
- An algorithm for producing the top 3 resorts given a user's input
- An algorithm for ranking the user's current location relative to other cities in our database
-
Visualizations:
- Quality of resorts based on snowfall
- Quality of cities for access to ski and snowboard areas
Our project may require you to install the following to run all programs: Plotty Sqlite3 Django Pandas Numpy
To Install run the following code in your command terminal: sudo pip install plotty sudo pip install sqlite3 sudo pip install django sudo pip install pandas suod pip install numpy
- Open a web browser
- navigate to the mysite directory in the shell
- In the shell run:
python manage.py runserver
- The page search page should have appeard in your browser
-
apps: This folder contains the files for the functions that are called in our website or were used to create material
- analysis.py: The file for creating the scored city lists and scoring the users current location
- database.py: Used for creating the SQL database and uploading csv data into it
- directions.py: Uses Google's API to get directions, locations, and distances
- forecast.py: Functions for getting the weather forecast from the database
- scraper.py: A web scraper used to gather information from the OnTheSnow.com
- preferences.py: The preference algorithm that is preforms a ranking with a SQL query
- weather.py: A program for getting current weather conditions and a seven day forecast for every resort in our database. The data comes courtesy of OpenWeatherMap.org
-
CSVs: A directory containing the CSVs that hold our list of resorts, cities, and the weather data
- current_weather.csv
- forecast_weather.csv
- ski-resorts.csv
- ski-resorts.txt
- top1000.csv
- top1000_scored.csv
- top200.csv
- top200_scored.csv
-
mysite: This directory contains the code for running web page
- More information on README found inside
-
Other Stuff: Presentation materials
- Initial Presentation
- Final Presentation
-
visualization: A directory containing the visualizations used in the website and the program used for creating them
- city_graphic.html: Graphic displaying cities based on their access to resorts
- d3-ski-resorts.html: GRaphic showing resort quality based on snowfall
- denisty-plot.html: Exploratory graph of resort data
- newtork.hmtl: Sidelind project for displaying user's location
- visualization.py: Program for creating visualization output
-
README.md: (This file)