Skip to main content

GeoPops

Project description

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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geopops-0.1.5.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geopops-0.1.5-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

Details for the file geopops-0.1.5.tar.gz.

File metadata

  • Download URL: geopops-0.1.5.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for geopops-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ab8b84a1b91ee4dd393f0478e639cc3b445b783c70f5ee7376933dd7761b2f97
MD5 b6f0d51381b029fcb93904a8ac9e3f18
BLAKE2b-256 884fc2a673d327d35495a7e7706431f152201626d5fce8aae9942c01fa52b44a

See more details on using hashes here.

File details

Details for the file geopops-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: geopops-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for geopops-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 84e80a3686dbec93c0fa41bdf4d510a71b3f2c422537444724cdfb8a2ceca9d2
MD5 7a946879e797e85e6177d3a992b9b70d
BLAKE2b-256 50f56b4f2a94c620d85a04a1153c579d9d3c09e78bcb652c7a177e13ad9e7364

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page