{ "cells": [ { "cell_type": "markdown", "id": "c6580c8b-b693-4ff0-bb44-0cecc8aac350", "metadata": {}, "source": [ "# Chicago Public Library Accessibility by Ward\n", "\n", "## 1. Overview / Introduction\n", "\n", "Access to public libraries plays an important role in supporting community education and equal access to resources. Libraries offer books, internet access, programming, and community gathering spaces that are very importatn for society.\n", "\n", "But access to these resources is not always evenly distributed across a city. Specifically, some wards might have multiple libraries within close proximity, while others might have none. Identifying these geographic disparities can help highlight where more investment in libraries might be most needed.\n", "\n", "In this analysis, we use spatial data science methods to:\n", "- Map the distribution of public libraries in Chicago \n", "- lay over the library locations with ward boundaries \n", "- Count the number of libraries in each ward\n", "- Visualize the results with a choropleth map and proximity buffer zones\n", "\n", "This provides a spatial understanding of library accessibility that can be used to make decisions related to public service planning and equal resource allocation.\n", "\n", "## 2. Reading and Visualizing Input Data\n", "\n", "We will use:\n", "- A CSV file of library locations (that hav latitude and longitude coordinates)\n", "- A GeoJSON file of Chicago wards\n", "- Python geospatial libraries like geopandas, shapely, matplotlib\n", "\n", "These datasets will help us visualize both point data (library locations) and polygon data (ward boundaries) on a single map.\n", "\n" ] }, { "cell_type": "code", "execution_count": 30, "id": "6bc7adf5-7dc2-465c-8282-f5cca0681896", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | BRANCH | \n", "SERVICE HOURS | \n", "ADDRESS | \n", "CITY | \n", "STATE | \n", "ZIP | \n", "PHONE | \n", "WEBSITE | \n", "BRANCH EMAIL | \n", "LOCATION | \n", "Latitude | \n", "Longitude | \n", "geometry | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "Albany Park | \n", "Mon. & Wed., 10-6; Tues. & Thurs., Noon-8; Fri... | \n", "3401 W. Foster Ave. | \n", "Chicago | \n", "IL | \n", "60625 | \n", "(773) 539-5450 | \n", "https://www.chipublib.org/locations/3/ | \n", "albanypark@chipublib.org | \n", "(41.97557881655979, -87.71361314512697) | \n", "41.975579 | \n", "-87.713613 | \n", "POINT (-87.71361 41.97558) | \n", "
1 | \n", "Altgeld | \n", "Mon. & Wed., Noon-8; Tue. & Thu., 10-6; Fri. &... | \n", "955 E. 131st St. | \n", "Chicago | \n", "IL | \n", "60827 | \n", "(312) 747-3270 | \n", "https://www.chipublib.org/locations/4/ | \n", "altgeld@chipublib.org | \n", "(41.65719847558056, -87.59883829075173) | \n", "41.657198 | \n", "-87.598838 | \n", "POINT (-87.59884 41.65720) | \n", "
2 | \n", "Archer Heights | \n", "Mon. & Wed., Noon-8; Tue. & Thu., 10-6; Fri. &... | \n", "5055 S. Archer Ave. | \n", "Chicago | \n", "IL | \n", "60632 | \n", "(312) 747-9241 | \n", "https://www.chipublib.org/locations/5/ | \n", "archerheights@chipublib.org | \n", "(41.80110836194246, -87.72648385568911) | \n", "41.801108 | \n", "-87.726484 | \n", "POINT (-87.72648 41.80111) | \n", "
3 | \n", "Austin | \n", "Mon. & Wed., Noon-8; Tues. & Thurs., 10-6; Fri... | \n", "5615 W. Race Ave. | \n", "Chicago | \n", "IL | \n", "60644 | \n", "(312) 746-5038 | \n", "https://www.chipublib.org/locations/6/ | \n", "austin@chipublib.org | \n", "(41.88917312206642, -87.7658203582574) | \n", "41.889173 | \n", "-87.765820 | \n", "POINT (-87.76582 41.88917) | \n", "
4 | \n", "Austin-Irving | \n", "Mon. & Wed., Noon-8; Tue. & Thu., 10-6; Fri. &... | \n", "6100 W. Irving Park Rd. | \n", "Chicago | \n", "IL | \n", "60634 | \n", "(312) 744-6222 | \n", "https://www.chipublib.org/locations/7/ | \n", "austin-irving@chipublib.org | \n", "(41.95312267684315, -87.77928489355646) | \n", "41.953123 | \n", "-87.779285 | \n", "POINT (-87.77928 41.95312) | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
76 | \n", "West Pullman | \n", "Mon. & Wed., Noon-8; Tue. & Thu., 10-6; Fri. &... | \n", "830 W. 119th St. | \n", "Chicago | \n", "IL | \n", "60643 | \n", "(312) 747-1425 | \n", "https://www.chipublib.org/locations/78/ | \n", "westpullman@chipublib.org | \n", "(41.67790647382097, -87.6431683153105) | \n", "41.677906 | \n", "-87.643168 | \n", "POINT (-87.64317 41.67791) | \n", "
77 | \n", "West Town | \n", "Mon. & Wed., 10-6; Tues. & Thurs., Noon-8; Fri... | \n", "1625 W. Chicago Ave. | \n", "Chicago | \n", "IL | \n", "60622 | \n", "(312) 743-0450 | \n", "https://www.chipublib.org/locations/79/ | \n", "westtown@chipublib.org | \n", "(41.89594730478282, -87.66829305460979) | \n", "41.895947 | \n", "-87.668293 | \n", "POINT (-87.66829 41.89595) | \n", "
78 | \n", "Whitney M. Young, Jr. | \n", "Mon. & Wed., 10-6; Tues. & Thurs., Noon-8; Fri... | \n", "415 East 79th St. | \n", "Chicago | \n", "IL | \n", "60619 | \n", "(312) 747-0039 | \n", "https://www.chipublib.org/locations/80/ | \n", "whitneyyoung@chipublib.org | \n", "(41.7510184591363, -87.61495065361933) | \n", "41.751018 | \n", "-87.614951 | \n", "POINT (-87.61495 41.75102) | \n", "
79 | \n", "Woodson Regional Library | \n", "Mon. - Thurs., 9-8; Fri. & Sat., 9-5; Sun., 1-5 | \n", "9525 S. Halsted St. | \n", "Chicago | \n", "IL | \n", "60628 | \n", "(312) 747-6900 | \n", "https://www.chipublib.org/locations/81/ | \n", "woodsonregional@chipublib.org | \n", "(41.720694885749005, -87.64304817213312) | \n", "41.720695 | \n", "-87.643048 | \n", "POINT (-87.64305 41.72069) | \n", "
80 | \n", "Wrightwood-Ashburn | \n", "Mon. & Wed., Noon-8; Tue. & Thu., 10-6; Fri. &... | \n", "8530 S. Kedzie Ave. | \n", "Chicago | \n", "IL | \n", "60652 | \n", "(312) 747-2696 | \n", "https://www.chipublib.org/locations/82/ | \n", "wrightwood-ashburn@chipublib.org | \n", "(41.73795704970435, -87.70221598421591) | \n", "41.737957 | \n", "-87.702216 | \n", "POINT (-87.70222 41.73796) | \n", "
81 rows × 13 columns
\n", "