TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

San Francisco's Drug Geography

91 pointsby laurenmoabout 10 years ago

10 comments

joshuahhhabout 10 years ago
I am impressed by how quickly the notebook goes from raw data to interesting patterns. Nice.<p>If I wanted to be picky about statistics (I generally do), I&#x27;d note:<p>1. Equating enforcement-related statistics with usage-related statistics is a dangerous thing to do. For example:<p>a. The rate of non-CRACK incidents in TENDERLOIN is probably low (disproportionate with actual use) due to the focus limited police resources put on crack.<p>b. I would bet that the high rate of WEED incidents in INGLESIDE &#x2F; BAYVIEW vs, say, MISSION, is due to police using weed enforcement as a weapon against gangs (and minorities). I mean, people smoke a lot of weed in the Mission.<p>2. Putting &quot;AMPHETAMINE&quot;-related crimes under &quot;METH&quot; is inaccurate, as is putting &quot;OPIUM&quot;&#x2F;&quot;OPIATE&quot;-related crimes under &quot;HALLUCINOGENIC&quot;.
ihaveajobabout 10 years ago
This is an awesome exercise in data visualization. It&#x27;s most striking to see how crack use was essentially flat until 2008, and then it started a steady decline. Looking at the charts, I would venture to interpret that the wave of gentrification following the market crash had the effect of disproportionately displacing crack users.<p>I wonder what this same study would look like across the bay, in Oakland.
galagoabout 10 years ago
It would be interesting to compare police data with a sewage study like this: <a href="http://www.addictionjournal.org/press-releases/wastewater-analysis--a-new-source-of-monitoring-illicit-drug-use-in-europe" rel="nofollow">http:&#x2F;&#x2F;www.addictionjournal.org&#x2F;press-releases&#x2F;wastewater-an...</a><p>My guess would be that San Francisco&#x27;s marijuana and cocaine consumption is at a per capita all-time high, even as police incidents decline.
leftcoasterabout 10 years ago
Why are opiates classified as hallucinogenic and not rolled in with heroin?
dmixabout 10 years ago
<a href="http://lmart999.github.io/assets/drug_agg.png" rel="nofollow">http:&#x2F;&#x2F;lmart999.github.io&#x2F;assets&#x2F;drug_agg.png</a><p>Looking at this chart and being a bit assumptive, is it safe to say crack use has declined and meth has increased?<p>Maybe meth isn&#x27;t really a new epidemic with a new user group, crack users just transferred to meth. Basically, those looking for cheap escapist drugs targeted at the very poor have moved onto a new product.<p>I&#x27;m curious which one is worse for society and the users?
评论 #9129442 未加载
评论 #9129400 未加载
评论 #9129175 未加载
评论 #9130202 未加载
j_bakerabout 10 years ago
Maybe I&#x27;m just obtuse, but this graph makes no sense to me: <a href="http://lmart999.github.io/assets/cluster_gis.png" rel="nofollow">http:&#x2F;&#x2F;lmart999.github.io&#x2F;assets&#x2F;cluster_gis.png</a><p>What exactly do the colors mean? And what do those brackets at the top and at the side mean?
评论 #9129412 未加载
stevesearerabout 10 years ago
Are there any resources on how to properly format raw data t make it most useful for display on a map? I&#x27;m hoping to do a crime map for my city and haven&#x27;t quite found a good place to start.
评论 #9130957 未加载
评论 #9130190 未加载
lqdc13about 10 years ago
That seaborn lib cut down on the code a lot. I can imagine it would be 10x more if you implement all of those graphs with pure matplotlib.
leeoniyaabout 10 years ago
i would much prefer to see the columns in the initial chart to be horizontal so that the labels were legible. my neck hurts.
valleyerabout 10 years ago
No precinct covers the Presidio?
评论 #9129458 未加载