Closed AmandaDoyle closed 4 years ago
Noted above, which tasks are priority tasks
The number of characters for BIN value is correct, but it will return an empty string if nothing is returned by Geosupport
Below are the DEP CATS permits that could be purged for air quality (confirmed with Cary):
After applying this logic, all permits are geocoded.
SELECT * FROM dep_cats_permits.geo_rejects
WHERE status !~* 'CANCELLED'
AND LEFT(applicationid, 1) != 'G'
AND (LEFT(applicationid, 2) != 'CA' OR (requesttype != 'REGISTRATION' AND requesttype != 'REGISTRATION INSPECTION'))
AND (LEFT(applicationid, 2) != 'CA' OR requesttype != 'WORK PERMIT' OR status != 'EXPIRED')
;
Source: DEP CATS Permits
Steps:
CURRENT
in their status