Show HN: Play with an interactive heatmap of SF crime (and other cities)
safemap.io
safemap.io
What counts as nearby also scales with density. Down the street is nearby in the suburbs. In New York the next avenue block may as well be another town.
I don't really understand why as a tourist you'd want to use this map for a short trip, unless you were going somewhere that's a literal war zone. Most cities just aren't statistically dangerous for a tourist unless you go out looking for trouble. You're much better off applying common sense than digging through digital maps of (reported) crimes.
If I was looking for somewhere to live then it would be more interesting I think.
My wife and I will be spending a day in the Fisherman's Wharf area, and the statistics on car break-ins has me concerned, though a co-worker who lives in the Bay told me that if I'm parked in a parking garage, it's less likely I'll be a victim, as it's harder to smash-and-grab-and-go when you have to deal with a parking gate.
What is the actual car break in statistic there?
When I was looking at places to live in South Carolina, Florida and places in the Northwest like Oregon and Idaho, it was interesting to see some of the crime maps and grades these sites gave for crime.
In small coastal towns in Florida, they had small populations and were essentially tourist towns or inhabited by "snow birds" people who live in Northern states who live there during the Winter. Several of the places got D's or F's for crime. I was just shocked, but reading the footnotes, they made it clear that the numbers could be skewed because of the transit population or other factors like Spring Break revelers who come down, get in fights, people get assaulted, or sometimes killed and suddenly a small town's crime rate goes through the roof because of an outlier event that year.
It just made me leery about any statistics you see online with cool heat maps or grades they give to certain areas.
As an aside, the same thing was evident in small rural towns in the mountains in Idaho as well which also got poor grades for crime. It aligns more with your comment, it you go looking for trouble, chances are, you're going to find it.
That's part of why online forums can be nice: a well moderated one can be great at pointing out blind spots in your thinking.
Also, when on a trip, getting my phone stolen, for example, is much more of a hassle than having it stolen on the street where I live. Bonus points for thieves actually going for bags and such, so now it's likely you'll need to pay a visit to your embassy or whatever to have your passport replaced, too. In the city where I live, if my ID gets stolen, I'm likely to have at least a different form at home, and I also pretty much know where and when to go to the authorities to try to obtain a replacement.
Speaking of SF, I have no idea if my country even has any kind of representation there, where it would be, how I would get there, and how long it would take to have temporary papers made up, especially without a phone or similar device.
It's kind of an interesting question though because it somewhat varies by crime category. Take car break ins, for instance - this is more of a constant factor than a population density scalar because the number of parking spots is generally fixed on a per-block basis rather than scaling with population density.
I think we might try to give users the option of dividing by population density but allow them to toggle this on/off.
However, I suspect there are some basic data errors upstream of this visualization tool that also limits its usefulness. E.g. 'rape' has a giant hotspot centered at the south side of the intersection of 8th and Mission ... which is site of a city Adult General Assistance office. I am guessing these are being tagged with the location where the victim gave a report, not the location where the crime happened.
Extremely high density but near zero crime would be inside a large office building.
Depends on behavior. If I stay in my room all day, I don't contribute to your divisor. If Jack Dorsey doesn't walk around alone past midnight, he's not absorbing the same risk quotient either.
Jack Dorsey is a weird motherfucker and a real outlier for this example. He used to walk to the Twitter office every day and generally looks and dresses like someone well outside his economic strata. I would not be surprised to find “midnight solo perambulations through the tenderloin” among his hobbies.
Density increases the number of potential criminals you pass but also increases the number of alternative victims they could target.
If you're a uniquely attractive/visibly wealthy personal walking home from a night out then the risk of passing more criminals dominates the advantage of alterative targets. After all, there's nothing really competing with you.
However, if you look like normal person but happen to have a million dollar watch in your pocket then you're conceivably safer in a city. Because there'd be so many alternative victims who may be more attractive targets than you. Compared to the countryside robber who only gets a single target per night.
Obviously this isn't every crime! People do have unlikely crimes happen to them all the time! Just that they're statistical anomalies and the population level statistics will mislead you about how high your risk is.
Not dividing by population density ~ Probability I will become a crime victim by travelling through that area
Dividing by population densitiy ~ Probability that I would be a crime victim if I live in that area
Still not that. P(you’re the victim) = crime count/potential victim count.
Population density may not be the right number for the denominator, but you need something in there.
If you live somewhere, you are forced to be a part of the community, which subjects you to the per capita rate.
I have a suspicion these statistics are only accurate and available when it is convenient for the people responsible for providing those statistics.
Isn't it the case that the police are responsible for providing statistics to the public? During the pandemic and during the George Floyd protests, there were political reasons for gathering information and using to show that A) "crime is up!" or B) "crime is actually still historically low!"
A few years ago, I was frustrated about the reporting on these statistics, and went to a variety of police web sites.
Some of the websites said: "Because of the pandemic, we are so overwhelmed by crime and everything, we cannot provide current statistics!" And, other sites said "Because of the pandemic, we are so overwhelmed by crime and everything, we cannot provide past statistics!" And, some websites just completely won't load. If a police department does not want to pay their IT person, or the company that provides it can't get their act together, the website will be down and you cannot get information directly from the police.
If you have a category of crime that is high, the police need to either fix that problem, or fix the numbers. Right?
I know that some sources of information come from the FBI. But, aren't those numbers often provided by the police?
And, in certain parts of the country were in favor of defunding the police, and certain parts of the country are filled with "Blue Lives Matters" people. Won't the police in the defund areas want to show crime is up? Won't those in regions with different sensibilities want to show their policing works? Can anyone tell me why this isn't a problem?
It is anecdotal, but aren't there areas of certain cities where the citizens have stopped reporting crimes because the police don't come anymore? How is that reflected in the numbers, if at all?
Can anyone else see a big gaping hole in how these stats are collected and used? Is there standardization across the country about these statistics?
For example, go here:
https://cde.ucr.cjis.gov/LATEST/webapp/#/pages/explorer/crim...
Look at Florida: "The 2022 estimated Crime statistics for Florida are based on data received from 403 of 758 participating law enforcement agencies in the state that year."
That's 54% participation.
Look at Oregon: "The 2022 estimated Crime statistics for Oregon are based on data received from 215 of 236 participating law enforcement agencies in the state that year."
That's 91% participation.
Why don't police departments in Florida report? Why aren't Floridians demanding that reporting? Florida has incarceration rates double of Oregon by the way. Do Floridians not want to look at that uncomfortable fact?
Portland has been pilloried in the news the last few years as the example of liberalism gone wrong. But, IMHO, liberals are asking questions about law enforcement, and when you report fully, there are going to be examples of wrong doing. If you just don't report, then it is easy to hide.
A few days ago I had to collect the body of my cat from the Polk County Florida sheriff's department so I called to make sure I had the hours of operation right. I was on hold and told over and over "Crime is at a 50 year low!" It felt like propaganda, and it feels even more so like propaganda after seeing the above.
I realize it has a very different aim than safemap, but I frequently use it as an example of how the selection of data sources and its visualization is crucial in communicating a particular story. This communication already starts with the name: calling a map of reported crime a 'safemap' implicitly suggests that red colored places are 'unsafe' and should be avoided. (The about popover literally states: "Learn which parts of San Francisco are safest and which parts are best to avoid.") Which, as the discussion here suggests might be more complicated than that.
you live in the area? because your comment doesn’t sound like it
https://missionlocal.org/2024/04/barricaded-capp-street-park...
Currently the UI on the left returns all empty images for me, https://www.dropbox.com/scl/fi/re068bj1vnaitsoh59x27/NoImage...
I rather enjoy using either points directly (and for dense point maps use leaflet's cluster markers), or actual outlined areas (e.g. using DBSCAN). For a few examples I have put together
- Dallas crime dashboard (using wasm + python), https://crimede-coder.com/graphs/Dallas_Dashboard
- Durham NC hotspots (leaflet), https://crimede-coder.com/graphs/DurhamHotspots
We collect over 1M national and hyper-local news in near real-time. Happy to help with collecting crime info from public news.
I'm happy to help for free; we'll also pay to develop & host information extraction using LLM!
Anyone, feel free to email me artem@newscatcherapi.com
Personally, I would prefer that the crimes filter panel automatically hide itself when I click on the map after selecting my filter.
Kudos.
I turned on all the types of crime and a weird set of diagonal darker regions appeared in the avenues. Either this is some weird artifact of the geocoding or there's some really strange magnetic fields or something affecting crime.
- The maps are pretty and scale nicely. The clarity and granularity of text is appreciated.
- The controls are excellent. I might put the copy and help in the same single title/menu panel (without "viewing:" as obvious)
Some other features I found myself wanting:
- Visually bound the map so you can see when it can't be moved in a direction. Think about what to do when the control panel is open and the user is trying to drag the map to see what's under the panel (instead of closing the panel).
- ability to sort data drill-down by number, to look at most prevalent
- using gradients for data starts to break down at low numbers. I wonder if you can start putting dots under some threshold
- time-range delta heat-maps: 2023 car break-ins vs 2022 (where green is improvement, red is worsening, and intensity is size of delta)
- surfacing qualitative aspects of data sources: one or many (only police?); and perhaps user feedback on quality of data
- curate super-categories, e.g., capturing all cocaine-related offenses, or distinguishing the stacked charges (loitering in the area of ...) from the operative ones (dealing), or crimes against (visiting?) strangers vs locals or friends. The data sources have their own arcane categorizing logic, and it's rarely what users actually want.
- color-code user-specified combinations: prostitution + drugs vs either alone
- Most of these relate to the kinds of questions users can answer with the maps, so if you have a (user-contributed?) panel with questions and their associated configuration sets, it would be very powerful and sticky.
- Then it would be nice to apply the same configuration-set to different cities, and perhaps to see some comparison across cities
Some things I wouldn't do:
- All-caps, tm? ok, but...
- I think putting safety under quality of life makes the product a bit less polarizing and hence more popular - which means adding other quality-of-life measures (e.g., zoning (residential/retail/manufacturing), cost/sf for housing, walkability scoring) E.g., it would be interesting to know which retail districts are super-safe.
Great work on this - very slick UX and super quick.
Be cool to expand it to support the UK or maybe develop some open standard for the way data can be reported. I'm sure businesses would pay for a consolidated data api.
It was great meeting you and chatting with you on that bus ride, hope you folks had a nice rest of your trip! And hope things are going well with LoginLlama and the other cloud storage related project you were talking about. Let me know if you ever need some beta testing done or something like that :)
But thanks for the info, this is great to know for any potential future expansions. If you see any cases where this might be happening for the currently supported cities, please don't hesitate to get into contact with us :)
Add more countries please
- With anything visible that might contain a valuable. Any devices in the trunk should be in Airplane Mode. If you're a tourist, don't park by a tourist trap.
- Any model with an oft-stolen catalytic converter, esp. Prius.
SF itself has higher-than-average tourist density, so it's a burgling destination too. But it's possible to park for decades and never have your car broken into.