{"id":21008037,"url":"https://github.com/caged/judicial-district-data","last_synced_at":"2026-04-28T13:03:39.652Z","repository":{"id":66029563,"uuid":"252062120","full_name":"caged/judicial-district-data","owner":"caged","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-12T05:49:33.000Z","size":4803,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T10:48:28.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://observablehq.com/@caged/the-united-states-courts-of-appeals-and-district-courts","language":"JavaScript","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-01T03:28:05.000Z","updated_at":"2020-04-19T09:17:04.000Z","dependencies_parsed_at":"2023-03-10T23:29:56.526Z","dependency_job_id":null,"html_url":"https://github.com/caged/judicial-district-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%2Fjudicial-district-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Fjudicial-district-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Fjudicial-district-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Fjudicial-district-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caged","download_url":"https://codeload.github.com/caged/judicial-district-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:15.497Z","updated_at":"2025-12-29T13:28:12.058Z","avatar_url":"https://github.com/caged.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](/preview.png)\n\nThis is a set of god awful hacks to generate county-level data for judicial districts. See [this observable notebook](https://observablehq.com/@caged/the-united-states-courts-of-appeals-and-district-courts) for an interactive version.\n\n### Old fragile stuff below\n\n```shell\n# Install system dependencies\nbrew install gdal postgis\n\n# Install project dependencies\nyarn\n\n# Download datasets\nmake\n\n# Import geodatabasess\n./bin/import -d usa -g ./data/gdb/acs_2017_5yr_county/ACS_2017_5YR_COUNTY.gdb\n./bin/import -d usa -g ./data/gdb/judicial_districts/7c787be41fc04bf6a4f47c3332367adc.gdb\n\n# Fix bad data in jurisdictions\npsql -f sql/fix-bad-polygon-in-jurisdictions.sql -d usa\npsql -f sql/fix-bad-jurisdiction-data.sql -d usa\n\n# Generate composite dataset with counties and jurisdictions\npsql -f sql/intersect-query.sql -d usa\n\n# Export data to new-line-delimited GeoJSON\n./bin/export -d usa -t intersections_with_threshold -o counties-raw-ndjson.json\n\n# Process into simplified TopoJSON\nyarn topo\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaged%2Fjudicial-district-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaged%2Fjudicial-district-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaged%2Fjudicial-district-data/lists"}