https://github.com/dvrpc/community-profiles-data-builder
CRON service to build community profile data layers
https://github.com/dvrpc/community-profiles-data-builder
Last synced: 5 months ago
JSON representation
CRON service to build community profile data layers
- Host: GitHub
- URL: https://github.com/dvrpc/community-profiles-data-builder
- Owner: dvrpc
- Created: 2025-07-02T14:02:25.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-11-05T21:21:18.000Z (8 months ago)
- Last Synced: 2025-11-05T23:28:24.853Z (8 months ago)
- Language: Python
- Size: 85.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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
```
2. Install requirements `pip install -r requirements.txt`
3. Create a local postgres DB
4. Get a [census api token](https://api.census.gov/data/key_signup.html) to place in .env in next step
5. 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
6. 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