https://github.com/apancoast/healthcare-deserts-and-public-transit
This dbt-based project aims to analyze the intersection of healthcare accessibility and public transit coverage in Mecklenburg County, NC.
https://github.com/apancoast/healthcare-deserts-and-public-transit
analysis analytics-engineering data-engineer dbt healthcare hpsa hrsa public-data public-transit
Last synced: 3 months ago
JSON representation
This dbt-based project aims to analyze the intersection of healthcare accessibility and public transit coverage in Mecklenburg County, NC.
- Host: GitHub
- URL: https://github.com/apancoast/healthcare-deserts-and-public-transit
- Owner: apancoast
- Created: 2024-12-21T17:31:07.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-16T13:16:55.000Z (3 months ago)
- Last Synced: 2025-03-16T13:25:57.810Z (3 months ago)
- Topics: analysis, analytics-engineering, data-engineer, dbt, healthcare, hpsa, hrsa, public-data, public-transit
- Language: Python
- Homepage:
- Size: 154 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ๐ Project Overview
This dbt project analyzes the intersection of healthcare accessibility and public transit coverage in Mecklenburg County. The goal is to identify **healthcare deserts**โareas with limited access to medical servicesโand evaluate how public transit (or the lack thereof) affects healthcare accessibility.By leveraging dbt, this project aims to transform raw datasets into actionable insights that can inform policymakers, transit agencies, and healthcare planners about disparities in access.
### Project Scope
Current project scope is limited to:
- Mecklenburg County, North Carolina
- Primary care health deserts
- Populations with public insurance
- Population demographics only include age ranges
- ~~Healthcare providers who are eligible to bill Medicaid/Medicare~~
- Public transit routes
### Outside of Project Scope
but potential to add:
- Public transit ridership numbers and demographics
- Demographics beyond age
- Additional healthcare needs, such as Mental Health and Dental## ๐๏ธ Project Status
This project is being developed iteratively. While the foundational dbt models are in place, additional transformations, analyses, and refinements are ongoing. You can track the development roadmap via the GitHub Issues and README updates.Current focus areas include:
- Finalizing research questions to prioritize modeling efforts.
### ๐ Project Roadmap| Milestone | Status |
| ----------------------------------------- | -------------- |
| Source dataset discovery and storage | โ Completed |
| dbt and Duckdb init | โ Completed |
| Load raw datasets into staged layer | โ Completed |
| Comprehensive staging layer documentation | โ Completed |
| Test and validate staging layer | โ Completed |
| Design analytical models | โ Completed |
| Develop intermediate models to support mart layer | ๐ In Progress |
| Test and validate intermediate layer | โณ Upcoming |
| Develop mart layer models | โณ Upcoming |
| Test and validate mart layer | โณ Upcoming |
| Prepare visualization | โณ Upcoming |### Change Log
| Change Decision | Reason | Applied |
| ----------------------------------------- | -------------- | -------------- |
| Exclude CMS and nearest source of care from analysis. | Too time-consuming to determine Primary Care Providers from all providers in this iteration. | 2025-02-27 |## ๐ ๏ธ Let's Get Technical
### Tech Stack
- Amazon S3
- Raw dataset storage
- DuckDB
- S3 connector
- RDBMS
- dbt
- Data transformation
- DocumentationKey dbt features implemented:
โ Database connection via DuckDB
โ Staging models for raw data processing
โ Macros for reusable SQL logic
โ Testing through dbt built-in features and packages
โ Documentation through dbt### Planned Final Outputs
- **Processed Datasets**: Available in a Tableau-ready format.
- **Interactive Maps**: Visualizing healthcare deserts and transit coverage.
- **Full dbt Documentation**: Generated from dbt models, including lineage graphs and data dictionaries, with supplemental information for a holistic data governance.## ๐ข Contact & Updates
For project updates and insights star the repo, follow my [LinkedIn](https://www.linkedin.com/in/pancoastashley/), or just keep refreshing this README like itโs your Instagram feed seconds after TikTok "left" the US.## โ๏ธ Contributions
This project isnโt open for external contributions yet, but feel free to fork the repo for your own use. If you adapt it to another location, Iโd love to hear about it!