openoakland / OakCrime-Decommissioned

Code supporting citizen analysis of crime in Oakland, CA
22 stars 16 forks source link

Replace "IFO " addresses with remaining address #28

Closed donnell794 closed 4 years ago

donnell794 commented 5 years ago

geocode these

rbelew commented 5 years ago

if you look at OakCrime/showCrime/dailyIncid/management/commands/harvestSocrata.py, line 124 you’ll see:

# 2do ASAP: attempt to geotag missing addresses, eg "IFO address"

This is a place that dailyIncid harvesting via Socrata is lagging behind that being done for patrol logs. Check out OakCrime/showCrime/dailyIncid/management/commands/parsePatrolLog.py line 20:

loc2 = loc2.replace('IFO ',' ') # 180131

a similar change in harvestSocrata should work fine!