Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

San Diego crime data #65

Merged
merged 6 commits into from
May 26, 2017
Merged

San Diego crime data #65

merged 6 commits into from
May 26, 2017

Conversation

srcole
Copy link
Contributor

@srcole srcole commented May 21, 2017

I scraped crime data collected for San Diego (see issue #39).

Note that data is only available for the last 180 days, so this scraper needs to be run every 180 days in order to not miss any future data. This can be done easily by running download_latest_data.py.

Also note that the classifications for each crime provided by the San Diego Police Department were very specific, and not pre-categorized. So, by simply searching for the presence of keywords in the crime description, I assigned a category to each crime. The categories are:
'drug possession', 'fraud', 'vandalism', 'drunk in public',
'assault', 'burglary', 'motor vehicle theft', 'theft',
'sex crimes, not child-related', 'disorderly conduct', 'battery',
'other', 'driving under the influence', 'attempted murder',
'illegal conceal or carry of weapon',
'illegal sales, manufacture, or transport', 'arson',
'weapon-related crime', 'child-related crimes', 'murder'

@seanjtaylor seanjtaylor merged commit 45d6d0e into Data4Democracy:master May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants