Where Film Locations Abound

Posted on May 31, 2016

Contributed by Ismael Jamie Cruz. He is currently in the NYC Data Science Academy 12 week full time Data Science Bootcamp program taking place between April 11th to July 1st, 2016. This post is based on his third class project - Web Scraping (due on the 6th week of the program)

New York's streets, shops, cafes, and architecture have provided the backdrop for numerous films. About 17,241 movie scenes were filmed between 2011 and 2013 based on film permit data from the New York Mayor's Office of Film. Some of my favourite have taken place in this city and I was always curious where exactly certain scenes were shot.

On the Set of New York (OTSONY) is one such website that contains more than a thousand movies and film locations in New York. It is owned and operated by Englishman Mark Rogers and contains one of the most extensive lists of film locations in the Big Apple. In addition, Rogers's methodology of gathering the locations is a labor of love. Without any access to filming street permits, Rogers identities locations manually through a long and drawn out process of pinpointing each address. Hence, it should be noted that this list is by no means exhaustive.

Web Scraping

I wanted to create a map that contained film locations using data from OTSONY. I proceeded by web scraping the site using Scrapy, a free and open source web crawling framework written in Python. The web scraping gathered two main things: movie titles and film locations.

Movie list from OTSONY:

otso_1

Sample film location for The Avengers movie:

otso_3

Dashboard

After acquiring the data, I used the Python library Geocoder to generate latitude and longitude data for each film location. Due to usage limits however, I was only able to generate geocodes for the first 407 films in the OTSONY list.

I then used Tableau Public to create a dashboard plotting the locations of the first 407 films. The dashboard can be found here.

Some features of the dashboard:

  1. Highlighting a point on the map shows the name of the movie and film location address
  2. Clicking on one of the bar graphs filters points by decade
  3. Changing the slider filters points by year
  4. Inputting a zip code in the search feature of the map zooms in to a certain area

*Note: some points are incorrectly plotted as seen by those located in other U.S. states but whose address is in New York

Future analysis

  • complete geocoding for all locations
  • plot all film locations
  • what were the most popular locations/areas to film in?
NYC Film Locations

About Author

Ismael Jaime Cruz

Ismael’s roots are in finance and statistics. He has six years of experience in such areas as financial analysis, trading and portfolio management. He was part of the team that launched the very first exchange-traded-fund in the Philippines....
View all posts by Ismael Jaime Cruz >

Related Articles

Leave a Comment

bracelet van cleef alhambra imitation December 22, 2017
boa noite… preciso que vc me informe td a respeito sobre sensores , sua origem , como Γ© feito o sensor e qual o seu objetivo….

View Posts by Categories


Our Recent Popular Posts


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 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 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 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