Giter Club home page Giter Club logo

school-district-locator's Introduction

School District Locator

The School District Locator is a Python tool designed to map any given street address in the United States to its corresponding school district. Utilizing the U.S. Census Bureau Geocoding Services API for address geocoding and GeoPandas for spatial analysis with school district shapefiles, this tool provides a quick and accurate lookup for determining the school district of a particular address.

Features

  • Address to school district mapping
  • Utilizes U.S. Census Bureau Geocoding Services for precise address location
  • Spatial analysis with GeoPandas for accurate district identification
  • Supports Shapefile boundary file format

Getting Started

Prerequisites

Ensure you have Python 3.6+ installed on your system.

Installation

Clone the repository to your local machine:

git clone https://github.com/steelcityamir/school-district-locator.git

Navigate to the cloned directory:

cd school-district-locator

Install the required libraries using pip:

pip install -r requirements.txt

Download boundary data from NECS

  1. Go to https://data-nces.opendata.arcgis.com/datasets/nces::school-district-boundaries-current/about
  2. Click Download button to view file formats
  3. Look for the Shapefile and click Download
  4. This will download a zip file containing the shapefile and associated files
  5. Unzip the files into the repo directory
  6. Rename the files to:
    • school_district_boundaries.cpg
    • school_district_boundaries.dbf
    • school_district_boundaries.prj
    • school_district_boundaries.shp
    • school_district_boundaries.shx
    • school_district_boundaries.xml

Usage

Run the script from your command line:

python3 locator.py

Follow the on-screen prompts to input the street address, city, state, and ZIP code for the location you're interested in.

screenshot

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • U.S. Census Bureau for providing the Geocoding Services API.
  • National Center for Education Statistics (NECS) for providing school district data.
  • The GeoPandas team for their excellent work on the geospatial analysis library.

Support

For support, please open an issue in the GitHub issue tracker for this project.

school-district-locator's People

Contributors

steelcityamir avatar

Stargazers

Sandeep Gupta avatar Anand Tyagi avatar Klynton Jessup avatar  avatar Jonathon Brouse avatar Michael S. Manley avatar suhaas avatar  avatar Maxwell T avatar Giovanni Kock Bonetti avatar Miki Oracle avatar ik5 avatar  avatar  avatar Greg Hochmuth avatar Cory Johnson avatar Jordan Rinder avatar  avatar Shinedog avatar Jon Davis avatar Khasim Dudekula avatar Levi King avatar Adnan Khan avatar Costas Akrivoulis avatar Jeyaram Ashokraj avatar Peter Swan avatar  avatar Wayde Gilliam avatar Jim Hurd avatar Seth avatar Scott avatar Brian Perondi avatar Shun Kakinoki avatar Brian Anglin avatar Rahim Nathwani avatar Jacob Hamblin avatar  avatar Jon avatar John Reiser avatar Adam Zell avatar James Highsmith avatar Samuel Mosley avatar Mark Kinney avatar Venkat avatar Linell Bonnette avatar Ryan Troyer avatar Ahmed Hashim avatar mikef avatar Pranav Maddula avatar

Watchers

 avatar  avatar

Forkers

payne thearchiver

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.