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.8

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.8
File Size Uploaded
geopops-0.1.8.tar.gz 6.7 MB Details

Built distribution (wheel)

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

Total release size: 13.9 MB

Release files / geopops-0.1.8.tar.gz

Download URL geopops-0.1.8.tar.gz
Size 6.7 MB
Tags Source
SHA-256 checksum
How to use checksums
14bf44edb7dacc4e55480342256ee1e2469d62814f4a93cb8f69d57aae3aa92b
BLAKE2b-256 checksum
How to use checksums
62611b053da3c757bc53f5c98713617218a82bb4e94aeeba2f62f0c5af6ff5c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

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

Download URL geopops-0.1.8-py3-none-any.whl
Size 7.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
dd9be7362d64a30f8f2c65622889642d635393366971212d0625916eaaaf3f63
BLAKE2b-256 checksum
How to use checksums
e4e6f5eb95c0eea319202ab6f03e66b46788fb167b0aad59e03f2df96c02efa1
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

This release

0.1.8 This release

2 release files

0.1.7

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