Skip to content

dvrpc/community-profiles-data-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

community-profiles-data-builder

CRON service to build community profile data layers

Setup

  1. Activate venv
python -m venv .venv
source .venv/bin/activate
# Windows .venv\Scripts\activate
  1. Install requirements pip install -r requirements.txt
  2. Create a local postgres DB
  3. Get a census api token to place in .env in next step
  4. Create .env file and fill contents from env_sample. GIS_DB refers to the DVRPC GIS Postgres DB, WRITE_DB refers to your newly created local postgres DB
  5. Run app
python run.py

This will take some time to build, primarily because of large spatial queries.

Sample test data muni = 4201704976 county = 42101

About

CRON service to build community profile data layers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages