Skip to main content

GeoPops

Full documentation and tutorials coming soon! GeoPops is in development, and we welcome feedback. Please log any issues.

GeoPops is a package for generating geographically and demographically realistic synthetic populations for any US Census location using publically available data. Population generation includes three steps:

  1. Generate individuals and households using combinatorial optimization (CO)
  2. Assign individuals to school and workplace locations using enrollment data and commute flows
  3. Connect individuals within locations using graph algorithms

Resulting files include a list of agents with attributes (e.g., age, gender, income) and networks detailing their connections within home, school, workplace, and group quarters (e.g., correctional facilities, nursing homes) locations. GeoPops is meant to produce reasonable approximations of state and county population characteristics with granularity down to the Census Block Group (CBG). GeoPops builds on a previous package, GREASYPOP-CO (One Health Trust), and incorporates the following changes:

  • All code wrapped in convenient Python package that can be pip installed
  • Compatibility with Census data beyond 2019 (still developing)
  • Automated data downloading
  • Users can adjust all config parameters from the front-end
  • Class for exporting files compatible with the agent-based modeling software Starsim (Institute for Disease Modeling)

There are many packages for generating agents and households from Census data, but GeoPops is the only one that is completely open source and generalizable that spatially connects agents in school and workplace networks. In combination with agent-based modeling tools like Starsim, GeoPops can facilitate timely context-specific scenario modeling of respiratory infectious diseases.

Get involved

GeoPops is in development and we welcome feedback! Get in touch if you've tried making a population of your own or want to become a member. You can upload your own example as a respository in the GeoPopsHub.

How to use

1_run_geopops.ipynb has instructions on how to build a GeoPops population. See the repo sc_spartanburg_measles for a detailed example of how to build a population, simulate a disease, test out interventions, and track outcomes by subgroup.

Support

GeoPops is a collaboration between the following institutions:

Metadata

Release files for geopops 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geopops 0.1.7
File Size Uploaded
geopops-0.1.7.tar.gz 6.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for geopops 0.1.7
File Interpreter ABI Platform
geopops-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 MB

Release files / geopops-0.1.7.tar.gz

Download URL geopops-0.1.7.tar.gz
Size 6.7 MB
Tags Source
SHA-256 checksum
How to use checksums
3d8e8e21110a2d60a4faf6f116f890ddd61abb79ae9eab98ec076426f29553c0
BLAKE2b-256 checksum
How to use checksums
6bfde9eda7f9cd8d1871df391d34cbadc0e890b6e8d96b0f91be917577f1db21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release files / geopops-0.1.7-py3-none-any.whl

Download URL geopops-0.1.7-py3-none-any.whl
Size 7.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2e2bcb9d43b2b8e13f86976fbac9b9b3c869a42f041acf2ad8e4dee7a5417ddd
BLAKE2b-256 checksum
How to use checksums
10cec22e3824f986b3fb55d3911673a7be2a592afc1ef0732c2bac0d861e17b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release history Release notifications | RSS feed

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.8

2 release files

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.0.9

2 release files

0.0.8

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page