September 2022: Center City Sips Data Workshop
On the last week of September 2022, 40 R-ladies Philly members joined this wonderful workshop given by Silvia Canelón who is a data analyst in the Urban Health Lab at the University of Pennsylvania. We learned how to scrape the data from the Philly’s 2022 Center City Sips website, and geo-coded the addresses to make an interactive map using geographic data.
The workshop covers three major steps:
Scrape restaurants and addresses from the website with
rvest
Geocode the restaurant addresses to obtain geographical coordinates with
tidygeocoder
Build an interactive map with
leaflet
.
Miss it? No worries!
The workshop slide and Silvia’s personal blog include the complete tutorial for this practice. All the materials can be found on GitHub and in an RStudio Cloud project. You can also watch the workshop recording at our Rladies Philly YouTube channel.
Besides the workshop, Silvia and the participates also created a list of useful tools and resources:
https://csspeeper.com Chrome extension is a Smart CSS viewer that inspect styles in a simple, well-organized and beautiful way.
There was a YouTube talk on
rvest
andwebscraping
hosted by the Salt Lake City RUG several months ago that might be helpful.There is also another webscraping tutorial by r-ladies johannesburg by Riva Quiroga.
Paper and more resources on geocoding and privacy compliance. Tidygeocoder has some info on HIPAA-privacy considerations
There’s a wonderful package by Garrick for adding timer to slides. Works with xaringan. You can see it here:
Wiki pages to estimate how much to zoom in your map.
Umami to estimate webpage visit.
For complete Q&A document, please refer to https://tinyurl.com/rlp-929
Thank you
We send a huge thank you to our speaker Silvia Canelón and all our participates. Follow Silvia at her blog, Twitter and Github to learn more about R.
This post was authored by Chun Su. For more information contact philly@rladies.org