{"id":15579152,"url":"https://github.com/jayqi/ipra-portal-scraper","last_synced_at":"2025-10-07T22:29:27.062Z","repository":{"id":96914560,"uuid":"61745785","full_name":"jayqi/ipra-portal-scraper","owner":"jayqi","description":"Python script to scrape IPRA Portal website","archived":false,"fork":false,"pushed_at":"2016-09-04T03:57:40.000Z","size":239,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T21:45:56.962Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/jayqi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-22T19:26:19.000Z","updated_at":"2016-07-20T01:28:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"314aeaa6-ff40-417d-b0cc-1eb904cf1c95","html_url":"https://github.com/jayqi/ipra-portal-scraper","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/jayqi%2Fipra-portal-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayqi%2Fipra-portal-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayqi%2Fipra-portal-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayqi%2Fipra-portal-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jayqi","download_url":"https://codeload.github.com/jayqi/ipra-portal-scraper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246156028,"owners_count":20732359,"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-10-02T19:13:59.259Z","updated_at":"2025-10-07T22:29:22.015Z","avatar_url":"https://github.com/jayqi.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IPRA Portal Scraper\n\nThis is a Python script that scrapes the [website](http://portal.iprachicago.org/) of Chicago's Independent Police Review Authority (IPRA) for information they have released on open investigations of police misconduct. \n\nThis project supports the Invisible Institute's [Chicago Police Incidents Data repository](https://github.com/invinst/chicago-police-data), a public resource for police accountability and transparency. \n\n## Usage\n\n### Scraping\n\nIn the main directory, run:\n\n    python ipra_scraper.py\n\nThis will overwrite `most_recent_scrape.json`, and it will also save a copy with the date and time in the filename in the `scrapes/` directory. \n\n### Utilities\n\nA few utilities are in the `data_utils.py` script. Below are terminal commands to use them:\n\nSummarize a scrape:\n\n    python data_utils.py summarize most_recent_scrape.json\n    \nWrite CSV tables for a scrape:\n\n    python data_utils.py writecsv most_recent_scrape.json\n    \nCompare two scrapes:\n\n    python data_utils.py compare path_to_oldjson path_to_newjson\n\n### Web viewer\n\nA web json file viewer of the `most_recent_scrape.json` can be found at\n\n* [https://jayqi.github.io/ipra-portal-scraper/](https://jayqi.github.io/ipra-portal-scraper/)\n\nThis was made using [mohsen1/json-formatter-js](https://github.com/mohsen1/json-formatter-js).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayqi%2Fipra-portal-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjayqi%2Fipra-portal-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayqi%2Fipra-portal-scraper/lists"}