{"id":21007994,"url":"https://github.com/caged/restaraunt-inspection-data","last_synced_at":"2026-04-28T14:01:31.914Z","repository":{"id":25175554,"uuid":"28598684","full_name":"caged/restaraunt-inspection-data","owner":"caged","description":"tools and scripts for dealing with Portland, OR restaurant inspection data","archived":false,"fork":false,"pushed_at":"2017-11-30T16:13:52.000Z","size":10032,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T10:48:27.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://labratrevenge.com/restaurant-inspections/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caged.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-29T16:43:52.000Z","updated_at":"2018-03-09T02:53:34.000Z","dependencies_parsed_at":"2022-08-23T18:00:34.726Z","dependency_job_id":null,"html_url":"https://github.com/caged/restaraunt-inspection-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Frestaraunt-inspection-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Frestaraunt-inspection-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Frestaraunt-inspection-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Frestaraunt-inspection-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caged","download_url":"https://codeload.github.com/caged/restaraunt-inspection-data/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243428437,"owners_count":20289318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T09:11:05.820Z","updated_at":"2025-12-28T14:57:33.727Z","avatar_url":"https://github.com/caged.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"A poorly documented collection of tools and scripts to export Portland, OR. restaurant inspection data from the [Civic Apps API](http://api.civicapps.org/#restaurant-inspections), import it into postgres, and export relevant CSV data.\n\n**Requirements**\n* [csv2psql](https://github.com/drh-stanford/csv2psql)\n* [jq](http://stedolan.github.io/jq/)\n* [postgres](http://www.postgresql.org/)\n\n\n**General usage**\n\n``` bash\nscript/sync       # fetches all inspections for 2014 from the civic apps api\nscript/tocsv      # converts raw inspection and violation data to csv files\nscript/psqlimport # imports data to postgres database named 'portland'\nscript/process    # performs a variety of task on the raw data (overlappoing point jittering, postgis Geom from lat/lon, etc.) and exports relevant csv files to the out/ directory\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaged%2Frestaraunt-inspection-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaged%2Frestaraunt-inspection-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaged%2Frestaraunt-inspection-data/lists"}