A “locality” in OpenAVM Kit represents a geographic area containing properties you want to analyze. This could be a city, county, neighborhood, or any other region. This guide walks you through creating and configuring a new locality.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/larsiusprime/openavmkit/llms.txt
Use this file to discover all available pages before exploring further.
Understanding Locality Structure
Each locality follows a specific naming convention and directory structure that OpenAVM Kit relies on.Naming Convention
Locality names follow this format:All components should be lowercase with no spaces. Use underscores instead of dashes within the locality name itself.
- Country code: 2-letter ISO 3166-1 code (e.g.,
us,no) - State/province code: 2-letter ISO 3166-2 code (e.g.,
tx,ca,ny) - Locality name: Human-readable identifier (no dashes, use underscores)
Step-by-Step Setup
A blank settings file with just
{} is sufficient to get started. OpenAVM Kit will merge this with default settings.geo_parcels - A geospatial file (GeoJSON, Shapefile, GeoPackage) containing parcel geometriesin/
├── settings.json
├── parcels.gpkg # Parcel geometries (required)
├── property_data.csv # Property characteristics
└── sales.csv # Sales transactions
from openavmkit.pipeline import init_notebook
locality = "us-tx-imaginarycounty"
init_notebook(locality)
Configuring Settings
As you develop your locality, you’ll expand thesettings.json file to configure:
- Data sources: Define which files to load and how to process them
- Model groups: Specify how to segment properties (e.g., single-family, commercial)
- Modeling parameters: Configure algorithms, variables, and validation settings
- Valuation date: Set the target date for valuations
settings.json
Switching Between Localities
To work with multiple localities, simply change the locality variable at the top of your notebook:Next Steps
Data Assembly
Learn how to load and process your data files
Configuration Reference
Explore all available settings options