NYC Data Science Academy| Blog
Bootcamps
Lifetime Job Support Available Financing Available
Bootcamps
Data Science with Machine Learning Flagship ๐Ÿ† Data Analytics Bootcamp Artificial Intelligence Bootcamp New Release ๐ŸŽ‰
Free Lesson
Intro to Data Science New Release ๐ŸŽ‰
Find Inspiration
Find Alumni with Similar Background
Job Outlook
Occupational Outlook Graduate Outcomes Must See ๐Ÿ”ฅ
Alumni
Success Stories Testimonials Alumni Directory Alumni Exclusive Study Program
Courses
View Bundled Courses
Financing Available
Bootcamp Prep Popular ๐Ÿ”ฅ Data Science Mastery Data Science Launchpad with Python View AI Courses Generative AI for Everyone New ๐ŸŽ‰ Generative AI for Finance New ๐ŸŽ‰ Generative AI for Marketing New ๐ŸŽ‰
Bundle Up
Learn More and Save More
Combination of data science courses.
View Data Science Courses
Beginner
Introductory Python
Intermediate
Data Science Python: Data Analysis and Visualization Popular ๐Ÿ”ฅ Data Science R: Data Analysis and Visualization
Advanced
Data Science Python: Machine Learning Popular ๐Ÿ”ฅ Data Science R: Machine Learning Designing and Implementing Production MLOps New ๐ŸŽ‰ Natural Language Processing for Production (NLP) New ๐ŸŽ‰
Find Inspiration
Get Course Recommendation Must Try ๐Ÿ’Ž An Ultimate Guide to Become a Data Scientist
For Companies
For Companies
Corporate Offerings Hiring Partners Candidate Portfolio Hire Our Graduates
Students Work
Students Work
All Posts Capstone Data Visualization Machine Learning Python Projects R Projects
Tutorials
About
About
About Us Accreditation Contact Us Join Us FAQ Webinars Subscription An Ultimate Guide to
Become a Data Scientist
    Login
NYC Data Science Acedemy
Bootcamps
Courses
Students Work
About
Bootcamps
Bootcamps
Data Science with Machine Learning Flagship
Data Analytics Bootcamp
Artificial Intelligence Bootcamp New Release ๐ŸŽ‰
Free Lessons
Intro to Data Science New Release ๐ŸŽ‰
Find Inspiration
Find Alumni with Similar Background
Job Outlook
Occupational Outlook
Graduate Outcomes Must See ๐Ÿ”ฅ
Alumni
Success Stories
Testimonials
Alumni Directory
Alumni Exclusive Study Program
Courses
Bundles
financing available
View All Bundles
Bootcamp Prep
Data Science Mastery
Data Science Launchpad with Python NEW!
View AI Courses
Generative AI for Everyone
Generative AI for Finance
Generative AI for Marketing
View Data Science Courses
View All Professional Development Courses
Beginner
Introductory Python
Intermediate
Python: Data Analysis and Visualization
R: Data Analysis and Visualization
Advanced
Python: Machine Learning
R: Machine Learning
Designing and Implementing Production MLOps
Natural Language Processing for Production (NLP)
For Companies
Corporate Offerings
Hiring Partners
Candidate Portfolio
Hire Our Graduates
Students Work
All Posts
Capstone
Data Visualization
Machine Learning
Python Projects
R Projects
About
Accreditation
About Us
Contact Us
Join Us
FAQ
Webinars
Subscription
An Ultimate Guide to Become a Data Scientist
Tutorials
Data Analytics
  • Learn Pandas
  • Learn NumPy
  • Learn SciPy
  • Learn Matplotlib
Machine Learning
  • Boosting
  • Random Forest
  • Linear Regression
  • Decision Tree
  • PCA
Interview by Companies
  • JPMC
  • Google
  • Facebook
Artificial Intelligence
  • Learn Generative AI
  • Learn ChatGPT-3.5
  • Learn ChatGPT-4
  • Learn Google Bard
Coding
  • Learn Python
  • Learn SQL
  • Learn MySQL
  • Learn NoSQL
  • Learn PySpark
  • Learn PyTorch
Interview Questions
  • Python Hard
  • R Easy
  • R Hard
  • SQL Easy
  • SQL Hard
  • Python Easy
Data Science Blog > Data Science News and Sharing > Data Web Scraping to Help Plan a Ski Vacation

Data Web Scraping to Help Plan a Ski Vacation

Andre Toujas
Posted on Sep 18, 2017
The skills the author demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Introduction

If you are fortunate enough to be planning a ski trip (or snowboarding, which is actually better and more fun!), some of the first questions that need to be answered are "where" and "when."  Other factors such as skiing ability level, type of group/vacation (i.e. family vacation, bachelor party, spring break, etc) also impact the ski trip decision-making process. In order to facilitate the process, data from a popular skiing website (www.onthesnow.com) was "scraped" to help determine optimal destinations specific to a user's parameters.

Data Collection

Two "web spiders" were built via Scrapy, which is a Python framework used for data extraction.  The first spider extracted ski resort data.  The second spider extracted daily snowfall data for each resort (2009 - present).

Ski Resort Data

Data on a total of 621 ski resorts was collected.  Data of the ski resort was subdivided into 7 main regions:

West Coast Northeast Canada Southern Hemisphere
Rocky Mountains Midwest Europe

 

The following images for one specific ski resort are meant to illustrate the type of data collected for all 621 ski resorts:

Data Web Scraping to Help Plan a Ski Vacation

Summit elevation/vertical drop

 

Data Web Scraping to Help Plan a Ski Vacation

Ski runs (type/number), Terrain Parks, Skiable Terrain

Data Web Scraping to Help Plan a Ski Vacation

 Ski Lift Data (type/number)

The ski resort data collected helps answer the "where" question.  For example, if you are going on a family trip with children, the optimal destination for your ski trip is going to be to be very different from a buddies trip where all skiers are of expert skiing ability.  While for a family trip, a resort with more beginner type ski runs located in a more populated ski town might be most appropriate.  For a ski-focused, buddies trip, a resort with the most vertical drop and expert terrain might be most appropriate.

Snowfall Data

Of course, snow makes any ski trip better.  Onthesnow.com has conveniently recorded daily snowfall totals and cumulative base depth for all 621 resorts for every year since 2009.  Scraping and analyzing snowfall totals helps to answer both "where" and "when."  See screen shot from onthesnow.com for an example of how daily snowfall totals are recorded:

Making the Decision (Data Analysis)

Where?

There are lots of factors to consider when planning a ski vacation--time of year, budget, high chance for some snow vs a chance for lots of snow, children in your party, skiing ability, etc.  As mentioned earlier, a big factor in determining a destination for a ski trip is snowfall; the more snowfall the better.  In order to narrow our search for the optimal destination, a simple box plot of the 7 regions' average annual snowfall was constructed (see figure below):If you are not familiar with how to read a box plot, see figure below for an explanation:

As evidenced by the average snowfall box plot, the West Coast and Rocky Mountain regions in the USA receive the most cumulative annual snowfall on average.  There are observations (ski resorts) that receive comparable annual snowfall located in the Canada and Europe regions as the upper quartile and top line of the box plot indicate.  However, assuming that the user is located in the USA, the added cost of travel to get to Europe or Canada precludes them from consideration.

Lift Ticket Price

Another major factor to consider is lift ticket price. Lift ticket prices can cost upwards of $150 per person per day.  It is fairly easy to determine that skiing can get quite expensive quickly, so let's take a look at the density plot below for a comparison of average lift ticket prices by region:

Findings

This density plot contains some interesting information:

  • European ski resorts appear to be much more economical than North American ski resorts.
    • This could be because most European ski resorts are not maintained like typical North American resorts and do not have as many "groomed" runs as typical North American resorts.
  • The midwest ski resorts are the most economical North American ski resorts, but the midwest ski resorts also receive the least amount of annual snow on average (see above box plot).
  • The West Coast and Northeast ski resorts have the highest mean lift ticket prices.
  • Distributions of lift ticket prices for most regions are fairly wide and inconclusive.

Since the distributions for average lift ticket prices by region are fairly wide and inconclusive, a more granular look at the individual resort lift ticket prices is warranted (provided later in the blog post).

Variance of Average Snow

Variance of average annual snow totals for each ski resort is the final aspect of ski resort data to be analyzed in the scope of this project.  The variance in snow totals for all resorts was calculated and grouped by region to get an understanding of which regions get more consistent yearly snowfall on average.  See the box plot below for the snow total variance comparison by region:

Observations

The first thing one might notice in the variance of snow totals box plot is how much bigger the variance is for West Coast ski resorts.  If you think about it, this makes perfect sense.  California experienced one of the most significant droughts in recorded history that spanned from December 2011 - March 2017 (as well as another drought from 2006 - 2010).  The variance of snow totals in West Coast ski resorts can be explained through the Wikipedia quote below:

Increasingly dramatic fluctuations in California weather have been observed in the 21st century. In 2015, California experienced its lowest snowpack in at least 500 years; the 2012โ€“15 period was the driest in at least 1200 years.  However, the winter of 2016โ€“17 was the wettest ever recorded in Northern California, surpassing the previous record set in 1982โ€“83.

Considering average annual snow totals, variance in snow totals and lift ticket prices, a ski resort in the Rocky Mountains might be the optimal choice since the Rocky Mountains have the best balance between average annual snow totals and snow totals variance.  European destinations might be also be a good choice for international users or users whose budget can allow for international travel.

When?

Just as snow is important for skiing, base depth is also important since a higher base depth will cover tree stumps, fallen branches, rocks, etc.  The bar chart below illustrates the average monthly snowfall for Rocky Mountain resorts with the average base depth plotted in the orange line:

As indicated from the chart above, March may be the optimal month to go skiing since the base depth is near the peak base depth for the season and while still experiencing significant snowfall.  February is also a good second option since the snow totals in February are still good, but the base depth is not quite as high as in March.

Recommendation

In order to get a more granular look at the ski resorts located in the Rocky Mountain region, a scatter plot showing lift ticket price vs average annual snowfall was created with color indicating the percentage of beginner ski runs to other ski runs (purple = fewest beginner ski runs, yellow = most beginner ski runs).  Optimal choices are located in the lower right hand portion of the graph since the user has the best chance for the most snowfall while being the most economic.

In the graphic above, 3 resorts are highlighted for different types of ski vacations:

  • Wolf Creek: Wolf Creek is the most budget-friendly and has a good mixture of both advanced terrain and beginner ski runs.  It would be a good selection for a group with skiers of varying abilities.
  • Grand Targhee: Grand Targhee Resort is located very near Jackson Hole, which is a prominent ski town with lots of amenities and night life.  If you are taking a family vacation and are not concerned with very challenging terrain, Grand Targhee would be a good selection.
  • Arapahoe Basin: If budget and challenging terrain are the user's most important parameters, Arapahoe Basin is a great option.  Arapahoe Basin does not provide many beginner runs, but the ski resort is economical and receives a good bit of snow.  Arapahoe Basin is also one of the closest ski resorts to Denver, so the user could stay in Denver and commute to the mountain since staying in a big city is often more economical than staying in a ski town.

Cumulative Snowfall

Once the user narrows in on a specific resort, graphs can be generated to see how that specific resort's snowfall and base depth develop over seasons to ensure the optimal month is selected for the ski trip.  The following graph shows the cumulative snowfall for every season since 2009:

This illustration affirms that February and March receive good snowfall.

Base Depth

To explore how the base depth develops at the user-selected resort, see the illustration below:

For this specific ski resort, the ski trip timing of February or March is maintained.  The user may want to consider taking the trip towards the beginning of March since the base depth has declined towards the end of March in seasons past, but the base depth should still be solid through all of March.

Conclusion

If I were the user planning a ski trip, I would book flights to Colorado and go skiing at Wolf Creek in late February or early March since Wolf Creek offers challenging terrain and receives the highest snow totals.  However, the decision about where to go skiing should take into account the goals and make-up of the group.

About Author

Andre Toujas

โ€œWhy?โ€ The question โ€œwhyโ€ has always intrigued Andre. That simple question is what made Andre pursue his degree in mechanical engineering, and answering โ€œwhyโ€ is what drives him as a data scientist. Two of his four NYCDSA projects...
View all posts by Andre Toujas >

Related Articles

Capstone
Catching Fraud in the Healthcare System
Capstone
The Convenience Factor: How Grocery Stores Impact Property Values
Capstone
Acquisition Due Dilligence Automation for Smaller Firms
Machine Learning
Pandemic Effects on the Ames Housing Market and Lifestyle
Machine Learning
The Ames Data Set: Sales Price Tackled With Diverse Models

Leave a Comment

Cancel reply

You must be logged in to post a comment.

No comments found.

View Posts by Categories

All Posts 2399 posts
AI 7 posts
AI Agent 2 posts
AI-based hotel recommendation 1 posts
AIForGood 1 posts
Alumni 60 posts
Animated Maps 1 posts
APIs 41 posts
Artificial Intelligence 2 posts
Artificial Intelligence 2 posts
AWS 13 posts
Banking 1 posts
Big Data 50 posts
Branch Analysis 1 posts
Capstone 206 posts
Career Education 7 posts
CLIP 1 posts
Community 72 posts
Congestion Zone 1 posts
Content Recommendation 1 posts
Cosine SImilarity 1 posts
Data Analysis 5 posts
Data Engineering 1 posts
Data Engineering 3 posts
Data Science 7 posts
Data Science News and Sharing 73 posts
Data Visualization 324 posts
Events 5 posts
Featured 37 posts
Function calling 1 posts
FutureTech 1 posts
Generative AI 5 posts
Hadoop 13 posts
Image Classification 1 posts
Innovation 2 posts
Kmeans Cluster 1 posts
LLM 6 posts
Machine Learning 364 posts
Marketing 1 posts
Meetup 144 posts
MLOPs 1 posts
Model Deployment 1 posts
Nagamas69 1 posts
NLP 1 posts
OpenAI 5 posts
OpenNYC Data 1 posts
pySpark 1 posts
Python 16 posts
Python 458 posts
Python data analysis 4 posts
Python Shiny 2 posts
R 404 posts
R Data Analysis 1 posts
R Shiny 560 posts
R Visualization 445 posts
RAG 1 posts
RoBERTa 1 posts
semantic rearch 2 posts
Spark 17 posts
SQL 1 posts
Streamlit 2 posts
Student Works 1687 posts
Tableau 12 posts
TensorFlow 3 posts
Traffic 1 posts
User Preference Modeling 1 posts
Vector database 2 posts
Web Scraping 483 posts
wukong138 1 posts

Our Recent Popular Posts

AI 4 AI: ChatGPT Unifies My Blog Posts
by Vinod Chugani
Dec 18, 2022
Meet Your Machine Learning Mentors: Kyle Gallatin
by Vivian Zhang
Nov 4, 2020
NICU Admissions and CCHD: Predicting Based on Data Analysis
by Paul Lee, Aron Berke, Bee Kim, Bettina Meier and Ira Villar
Jan 7, 2020

View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day ChatGPT citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay football gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income industry Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI

NYC Data Science Academy

NYC Data Science Academy teaches data science, trains companies and their employees to better profit from data, excels at big data project consulting, and connects trained Data Scientists to our industry.

NYC Data Science Academy is licensed by New York State Education Department.

Get detailed curriculum information about our
amazing bootcamp!

Please enter a valid email address
Sign up completed. Thank you!

Offerings

  • HOME
  • DATA SCIENCE BOOTCAMP
  • ONLINE DATA SCIENCE BOOTCAMP
  • Professional Development Courses
  • CORPORATE OFFERINGS
  • HIRING PARTNERS
  • About

  • About Us
  • Alumni
  • Blog
  • FAQ
  • Contact Us
  • Refund Policy
  • Join Us
  • SOCIAL MEDIA

    ยฉ 2025 NYC Data Science Academy
    All rights reserved. | Site Map
    Privacy Policy | Terms of Service
    Bootcamp Application