No video

Mapping Every Starbucks using Web Scraping and Python!

  Рет қаралды 8,279

ritvikmath

ritvikmath

Күн бұрын

Creating a map using data scraping and Python to figure out the closest that two Starbucks can be!
Cup icons created by Freepik - Flaticon
www.flaticon.c...
Link to Code : github.com/rit...
My Patreon : www.patreon.co...

Пікірлер: 34
@tommy93hun
@tommy93hun Жыл бұрын
As a GIS developer working with spatial data, this example makes me feel warm and fuzzy inside.
@ritvikmath
@ritvikmath Жыл бұрын
Awesome!! Trying to learn more about the GIS world myself
@kamicarbon
@kamicarbon Жыл бұрын
Great vid. Love to see a practical example and the explanations are great.
@ritvikmath
@ritvikmath Жыл бұрын
Thanks!
@hongjiang3399
@hongjiang3399 Жыл бұрын
This is amazing! I learnt how to use those tools but still struggle to use them in real problem solving. This video does provide los of possibilities. Please provide more practical examples like this one! Love to know!
@ritvikmath
@ritvikmath Жыл бұрын
Glad it was helpful!
@Leonidus_Singh
@Leonidus_Singh 4 ай бұрын
That's a nice project!!!
@bernardfinucane2061
@bernardfinucane2061 Жыл бұрын
Sounds like Starbucks is designed to be within 15 minutes on foot of anywhere in Los Angeles.
@ritvikmath
@ritvikmath Жыл бұрын
That’s a great observation. We may have uncovered a finding which is actually a cause.
@itskevinzerbe
@itskevinzerbe Жыл бұрын
Would be interesting to run some spatial stats on that data to look for clusters or hot spots and whether there are any correlations with hot spots and socioeconomics, topography, or other geographic features.
@ritvikmath
@ritvikmath Жыл бұрын
very true, maybe we can get some more insights into why the stores are exactly where they are. which can then help us predict where the next stores will be for example.
@itskevinzerbe
@itskevinzerbe Жыл бұрын
@@ritvikmath exactly! You could start building a regression using various land features and socioeconomics as explanatory variables. My gut tells me there are likely some predictive features you’d stumble on. Then run the same analysis in a place like Seattle and see if your LA-based regression model holds up.
@escolpiod123
@escolpiod123 Жыл бұрын
very helpful, helped me solve a problem for a nonprofit. Thanks!
@ritvikmath
@ritvikmath Жыл бұрын
Great to hear!
@aayushverma8173
@aayushverma8173 Жыл бұрын
Great video! I think road distance would make more sense from where further analysis on this data can be done.
@aayushverma8173
@aayushverma8173 Жыл бұрын
Seems to me, in the video it's calculating Euclidean Distance
@ritvikmath
@ritvikmath Жыл бұрын
Definitely! this straight line distance is (usually) not close the walkable distance or drivable distance except when those line segments connect two locations down the same street.
@e555t66
@e555t66 Жыл бұрын
I don't have money to pay him so leaving a comment instead for the algo. He is the best.
@aiwithaz
@aiwithaz Жыл бұрын
As you mentioned, in a graph context I wonder how an algorithm like a breadth first search could be used over the many zip codes in LA county
@user-co6pu8zv3v
@user-co6pu8zv3v Жыл бұрын
Thank you!
@ritvikmath
@ritvikmath Жыл бұрын
Of course!
@vladislavziyangulov7490
@vladislavziyangulov7490 Жыл бұрын
Hi, I love your videos Can I ask you where you studied? And how You seem so knowledgeable and well-spoken
@Candy_2599
@Candy_2599 26 күн бұрын
Can you make an updated tutorial on this?
@shichenyuan8430
@shichenyuan8430 Жыл бұрын
Very nice video! Two quick questions: How to make sure there is no duplicated items caused by difference in the significance figures in longitude and attitude? How to make sure not excluding two stores in the same building using set? Thanks!
@siddhant17khare
@siddhant17khare Жыл бұрын
How can we leverage this distance analysis(or any other data-driven methodology) to determine where to open new Starbucks store ?
@ritvikmath
@ritvikmath Жыл бұрын
Wow that’s a great question! My initial thought is to scan over all the areas of Los Angeles county, and find the one whose closest Starbucks is farthest away. Going a step further we would want to take into account population density data to make sure we don’t end up building a store in the mountains somewhere.
@user-kx4bc7kl8c
@user-kx4bc7kl8c 8 ай бұрын
In CSV file how does the program only know to take just the zip codes?
@MrMoore0312
@MrMoore0312 Жыл бұрын
Super cool video!
@ritvikmath
@ritvikmath Жыл бұрын
Thank you very much!
@EW-mb1ih
@EW-mb1ih Жыл бұрын
Nice video! Is it technically possible to estimate the distance by road instead of the distance as the crow flies?
@ritvikmath
@ritvikmath Жыл бұрын
yes it should be! will just require some extra API calls to get the driving distance.
@philtoa334
@philtoa334 Жыл бұрын
Nice.
@ritvikmath
@ritvikmath Жыл бұрын
Thank you! Cheers!
@abc52701
@abc52701 Жыл бұрын
How can i contact you ...I have some problem regarding time series video ..if you could help me
I Day Traded $500 of Stocks using ARMA .. This is What Happened
23:14
What is a Jacobian Matrix | Physical Interpretation
12:23
Кадр сыртындағы қызықтар | Келінжан
00:16
А ВЫ УМЕЕТЕ ПЛАВАТЬ?? #shorts
00:21
Паша Осадчий
Рет қаралды 1,8 МЛН
Matching Picture Challenge with Alfredo Larin's family! 👍
00:37
BigSchool
Рет қаралды 47 МЛН
Decision Tree Classification: Membuat Tree untuk Klasifikasi
28:10
Knowledge Sharing
Рет қаралды 8 М.
Web Scraping with ChatGPT is mind blowing 🤯
8:03
Code Bear
Рет қаралды 45 М.
Always Check for the Hidden API when Web Scraping
11:50
John Watson Rooney
Рет қаралды 621 М.
How To Generate Google Maps Leads with Selenium Python
46:46
Michael Kitas
Рет қаралды 4,4 М.
Python - Create Maps with Folium and Leaflet
18:50
Techletters
Рет қаралды 71 М.
Web Scraping to CSV | Multiple Pages Scraping with BeautifulSoup
29:06
Кадр сыртындағы қызықтар | Келінжан
00:16