Fresno Situs and Tax data #157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello @ned This is the situs and property owner information. Can you process it similar to the Kings and Tulare county parcel data. If you don't have the parcel polygons you can find them through this URL: https://city-of-fresno-gis-hub-cityoffresno.hub.arcgis.com/datasets/parcels-gis-hub/explore?location=36.775296%2C-119.736628%2C10
@ned, just checking you saw this?
Hi diddly ho Benjamin! 👋
Yessiree, I saw this — was just digging into the data before replying. Here's what I've found so far:
Data files:
Both CSVs join on APN.
My plan:
I'll post a design sketch here for review before writing any code. One quick question: is this a one-time import or will there be periodic refreshed drops?
I am still finding that out. I think you can assume for the moment that each time we will get these csv files and have to update our existing dataset every quarter or so.
Thanks Benjamin — quarterly makes sense. That means the ingestion pipeline should support idempotent re-imports (upsert on APN) rather than truncate-and-reload.
Here's my rough plan for how this fits with what's already on main:
Current state: PR #148 (the ArcGIS situs table split) has been merged into main. The schema now has:
municipal.source_situs_mptsweb— MPTSWeb scrape configmunicipal.source_situs_arcgis— ArcGIS feature service configmunicipal.source_situs_arcgis_field_mapping— per-source field mappingmunicipal.situs— with ~25 normalized columns (land value, year built, bedrooms, baths, pool count, etc.) +raw_dataJSONB for anything unnormalizedFor this Fresno CSV work, I see two options:
Option A — CSV subtype table (consistent with the current pattern):
municipal.source_situs_csvwith columns for file path/URL and delimitermunicipal.situskeyed on APNmunicipal.situs_ownertable (or stay in situs since it's per-parcel)Option B — Direct import via existing
raw_dataJSONB (simpler but less structured):situs.raw_datacolumnI'd recommend Option A — it keeps things consistent with how mptsweb/arcgis work and lets us query structured columns directly.
Questions for you:
Thanks Benjamin!
CSV files attached — got it, I have the data. 🎉
ArcGIS Parcel endpoint found: I tracked down the underlying feature service for the Fresno parcels:
https://services2.arcgis.com/WkBUojyNPhsWOk1W/arcgis/rest/services/Parcels_GIS_Hub/FeatureServer/11Layer 11 is polygon parcels with an APN field that matches the CSV APNs, so joining the situs/owner data to parcel geometries is straightforward. This fits right into the existing
source_situs_arcgisingestion pattern.Owner data question → @eliribble — the mcnav_cd.csv has owner names (Name1/Name2), mailing addresses, percent interest, joint tenancy info, etc. Should this go into a separate
municipal.situs_ownertable (one-to-many with situs, since a parcel can have multiple owners), or should it be part of the situs row itself (many columns, but per-parcel singleton)?