The Elite Runners of the NYC Marathon

Valerie Molignano
Posted on Nov 21, 2016

Since 1970, the NYC marathon has been attracting runners. In 1970, of 127 entrants, only 55 men finished; the sole female entrant dropped out due to illness. Winners were given inexpensive wristwatches and recycled baseball and bowling trophies. The entry fee was $1 and the total event budget was $1,000.

The New York Road Runners Club has a rich history. Over the past 58 years, they've grown from a local running club to become the world’s premier community running organization with a mission to help and inspire people through running.

The website http://www.nyrr.org contains a database of information on all runners since 1970.  The 2016 marathon had 50,000 runners.  The more recent years have more marathon data than the earlier years. The start of using a computer chip for each runner increased the data available.

The Webscraping Process

This project focuses on the elite runners - the top 100 women finishers and top 100 men finishers, from 1999 to 2015.  Prior to 1999, there was less data available on the race times for different segments of the race.

The Python library mechanize was used for HTML form filling and Beautiful Soup was used to parse out the data.  A form had to be submitted for each top 100 men, each top 100 women, and then for each year. Different years had different formats of the table returned.  Unicode characters were in random places so all items had to be checked.

Once data was parsed it was outputted to a file. Then it was read in with R and loaded into a dataset.  The EDA analysis looked at the mean marathon time of men, women for each year. It looked at correlations in the data and mean time by State.

density

 

About Author

Related Articles

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

2019 airbnb Alex Baransky alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus API Application artist aws 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 Bundles California Cancer Research capstone Career Career Day citibike clustering Coding Course Demo Course Report D3.js data Data Analyst data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization Deep Learning Demo Classes Demo Day Demo Lesson Discount dplyr employer networking feature engineering Finance Financial Data Science Flask gbm Get Hired ggplot2 googleVis Hadoop higgs boson Hiring hiring partner events Hiring Partners Industry Experts Instructor Blog Instructor Interview Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter lasso regression Lead Data Scienctist Lead Data Scientist leaflet Lectures linear regression Live Chat Live Online Bootcamp Logistic Regression machine learning Maps matplotlib Medical Research Meet the team meetup Networking neural network Neural networks New Courses nlp NYC NYC Data Science nyc data science academy NYC Open Data NYCDSA NYCDSA Alumni Online Online Bootcamp Online Lectures Online Training Open Data painter pandas Part-time Portfolio Development prediction Prework Programming PwC python python machine learning python scrapy python web scraping python webscraping Python Workshop R R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking Realtime Interaction recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn Selenium sentiment analysis Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau team TensorFlow Testimonial tf-idf Top Data Science Bootcamp twitter visualization web scraping Weekend Course What to expect word cloud word2vec XGBoost yelp