What is a locality?
OpenAVM Kit operates on the concept of a locality, which is a geographic area that contains a set of properties. This can represent a city, a county, a neighborhood, or any other region or jurisdiction you want to analyze.A locality is the fundamental organizational unit in OpenAVM Kit. All data processing, modeling, and analysis happens within the context of a specific locality.
Folder structure
Each locality requires a specific folder structure within OpenAVM Kit’snotebooks/pipeline/ directory:
Directory purposes
Directory purposes
in/: Contains your raw data files and configurationout/: Where OpenAVM Kit writes output files after processingsettings.json: Drives all your modeling and analysis decisions
Initial setup
For a new locality, create a minimalsettings.json file:
Naming conventions
The locality slug format
Locality slugs follow a specific, opinionated format:The slug must be all lowercase and contain no spaces or special characters other than underscores. Dashes are used only to separate the three main components.
Format components
Country code The 2-letter country code according to the ISO 3166-1 standard.- United States:
us - Norway:
no - Canada:
ca
- Texas:
tx - California:
ca - New York:
ny - Oslo:
03
Examples
Working with localities
Once you have your locality set up with the correct folder structure and naming convention, you can begin:- Loading raw data into the
in/directory - Configuring your
settings.jsonfile - Running the OpenAVM Kit pipeline notebooks
- Viewing results in the
out/directory
See the Workflows page for details on the typical data processing pipeline for a locality.