Git Product home page Git Product logo

buckscountyscraper's Introduction

Food Facilities Inspection Report Aggregator
for Bucks County, PA Department of Health

Bucks County conducts inspections of food facilities as an environmental health measure. Inspection records are accessible via the County's website. While the records are available, interface constricts the how the data may be assessed. The County's site includes "Please remember that any inspection is a "snapshot" of the day and time of the inspection. An inspection conducted on any given day may not be representative of the overall, long-term cleanliness of an establishment." While each record is a snapshot, a series of inspections may represent the "overall" cleanliness of an establishment. Yet, the site doesn't have measures to aggregate accross records so that the public can infer "overall" cleanliness. By collecting inspection records, I hope to be infer the general conditions of an individual establishments.


This is a tool for scraping and parsing individual inspections for storage a json documents. The json version of the documents can be stored in a variety of wasy.
The tool also includes tests to check that output data is as expected.

Usage:
This project was developed in Python 3.6.1
The database isn't necessary, use daily.bucks and daily.get_txt to request html
Create a database e.g. db.createdb to store documents to db
Adjust main's daily.bucks to specify a start id

bucks
- bucks 
  "local source files output from daily.py"
- src
  - daily.py
  - db.py
  - main.py 
  - parse.py
- test 
  - tests.py

Bucks County Health Department, Health Inspection
http://www.buckscounty.org/government/healthservices/HealthDepartment/Inspections

buckscountyscraper's People

Contributors

kdurril avatar

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.