Skip to main content

Demographic Modeling

Project description

demographic-modeling-module

Demographic Modeling is opinionated tooling for performing demographic analysis using both geography and machine learning.

Opinionated

No, this set of tooling written in Python is not going to have a political debate with you. Rather, while flexible enough to be used in a variety of ways, this tooling provides a clear way to perform analysis. This enables you to get started and be productive as quickly as possible.

Getting Started

From the project directory, create an environment with all dependencies installed and linked.

> make env

This creates a conda environment cloned from the ArcGIS Pro default environment arcgispro-py3, and names this new environment demographic-modeling, and also activates this environment for ArcGIS Pro at the same time. If opening a new command prompt, you can easily activate this environment using the command..

> make env_activate

...which simply calls > activate demographic-modeling for you.

From there, the example workflow can be found in the notebooks in the ./notebooks directory of the project, and explored by simply calling.

> make jupyter

This command takes care of activating the environment, and also starting jupyter lab, so you can get started quickly.

Project Organization


    ├── LICENSE
    ├── Makefile           <- Makefile with commands like `make data`
    ├── make.bat           <- Windows batch file with commands like `make data`
    ├── setup.py           <- Setup script for the library (dm)
    ├── .env               <- Any environment variables here - created as part of project creation, 
    │                         but NOT syncronized with git repo for project.                
    ├── README.md          <- The top-level README for developers using this project.
    ├── arcgis             <- Root location for ArcGIS Pro project created as part of
    │   │                     data science project creation.
    │   ├── demographic-modeling-module.aprx <- ArcGIS Pro project.    
    │   └── demographic-modeling-module.tbx  <- ArcGIS Pro toolbox associated with the project.
    ├── scripts            <- Put scripts to run things here.
    ├── data
    │   ├── external       <- Data from third party sources.
    │   ├── interim        <- Intermediate data that has been transformed.
    │   │   └── interim.gdb
    │   ├── processed      <- The final, canonical data sets for modeling.
    │   │   └── processed.gdb
    │   └── raw            <- The original, immutable data dump.
    │       └── raw.gdb
    ├── docs               <- A default Sphinx project; see sphinx-doc.org for details
    ├── models             <- Trained and serialized models, model predictions, or model summaries
    ├── notebooks          <- Jupyter notebooks. Naming convention is a 2 digits (for ordering),
    │   │                     descriptive name. e.g.: 01_exploratory_analysis.ipynb
    │   └── notebook_template.ipynb
    ├── references         <- Data dictionaries, manuals, and all other explanatory materials.
    ├── reports            <- Generated analysis as HTML, PDF, LaTeX, etc.
    │   └── figures        <- Generated graphics and figures to be used in reporting
    ├── environment.yml    <- The requirements file for reproducing the analysis environment. This 
    │                         is generated by running `conda env export > environment.yml` or
    │                         `make env_export`.                         
    └── src                <- Source code for use in this project.
        └── dm <- Library containing the bulk of code used in this 
                                                  project. 

Project based on the cookiecutter GeoAI project template. This template, in turn, is simply an extension and light modification of the cookiecutter data science project template. #cookiecutterdatascience

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

demographic-modeling-0.3.0.tar.gz (43.8 kB view details)

Uploaded Source

Built Distribution

demographic_modeling-0.3.0-py3-none-any.whl (80.3 kB view details)

Uploaded Python 3

File details

Details for the file demographic-modeling-0.3.0.tar.gz.

File metadata

  • Download URL: demographic-modeling-0.3.0.tar.gz
  • Upload date:
  • Size: 43.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for demographic-modeling-0.3.0.tar.gz
Algorithm Hash digest
SHA256 484ff50248497111456e45e8ecca40d7f58addc488256a0e47f4e78241a3779e
MD5 bf322290c9c1b745b0de5ef4af1ce73b
BLAKE2b-256 077fb81226b66f772f82062fd07d8f5efd37ddc3069a5bc77cf8c90d7851186e

See more details on using hashes here.

File details

Details for the file demographic_modeling-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: demographic_modeling-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 80.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for demographic_modeling-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 568dc3d012632a32c68159f943770d56322b941b7463f9efb75fa6710b6ae280
MD5 074c8c1851f3f13a38663e114e17ddef
BLAKE2b-256 30ef33b99fbfb2e730e03c2d77ec3f431dae25674af35536b8be5ad9e250f1f0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page