{"id":15519936,"url":"https://github.com/ceteri/chicagocrime","last_synced_at":"2025-03-05T06:30:41.112Z","repository":{"id":137922246,"uuid":"9845887","full_name":"ceteri/ChicagoCrime","owner":"ceteri","description":"predictive modeling for crime rates in Chicago wards; published KDD 2013","archived":false,"fork":false,"pushed_at":"2013-05-29T16:34:42.000Z","size":33479,"stargazers_count":5,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-24T12:23:03.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://kdd13pmml.files.wordpress.com/2013/07/pattern.pdf","language":"R","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/ceteri.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":"2013-05-03T22:33:20.000Z","updated_at":"2024-08-24T23:41:01.000Z","dependencies_parsed_at":"2023-03-13T21:45:46.342Z","dependency_job_id":null,"html_url":"https://github.com/ceteri/ChicagoCrime","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/ceteri%2FChicagoCrime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceteri%2FChicagoCrime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceteri%2FChicagoCrime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceteri%2FChicagoCrime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ceteri","download_url":"https://codeload.github.com/ceteri/ChicagoCrime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241979212,"owners_count":20052093,"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-02T10:23:43.244Z","updated_at":"2025-03-05T06:30:36.102Z","avatar_url":"https://github.com/ceteri.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"ChicagoCrime\n============\n\npredictive modeling for crime rates in Chicago wards\n\n\nConvert from \"Community Area\" to \"Ward\"\n---------------------------------------\nDefinitions for \"community areas\" in Chicago can be downloaded as GIS shapefiles.\nThe shapefile file `data/chicomm.shp` comes from http://www.lib.uchicago.edu/e/collections/maps/chicomm.zip\n\nSome discussion of how to convert from shapefiles to more general purpose polygons is given in\nhttp://www.quora.com/How-can-I-convert-a-shapefile-to-a-lat-long-polygon-array-for-use-in-Google-Maps\n\nDownload, build, and install the GDAL and OGR utilities from http://www.gdal.org/ogr2ogr.html\n\n    ./configure ; make; sudo make install\n\nDownload, build, and install the GEOS utilities from http://download.osgeo.org/\n\n    ./configure ; make; sudo make install\n\nInstall the `lxml` package from http://lxml.de/ and the `shapely` package from https://pypi.python.org/pypi/Shapely\nbased on instructions in http://osxastrotricks.wordpress.com/2010/07/19/install-python-shapely/\n\nNext, we convert the shapefile to KML, then parse the KML to construct Shapely polygons as \"LinearRings\", based on\nhttp://toblerity.github.io/shapely/manual.html#linearrings\n\n    ogr2ogr -f \"KML\" foo.kml data/chicomm.shp\n    ./src/py/shape.py foo.kml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceteri%2Fchicagocrime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceteri%2Fchicagocrime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceteri%2Fchicagocrime/lists"}