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.post2.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.post2-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geopops-0.1.5.post2.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.post2.tar.gz
Algorithm Hash digest
SHA256 1efdb771a172568a818660eb1d41a46e3de7fb0a7e062f0c1dcb7c606d88caea
MD5 95f57d34131b399911083e54fc66b300
BLAKE2b-256 1074a4b79119376d42bb0b478229a85b48a78e061c0755d5b0d3fe7cc64eb654

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for geopops-0.1.5.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 32b1e422ccd8cad63f31142ac40a2b2733ff7fc8efcd23d479bd483bd6a238d3
MD5 013952b9f76c0b7f064a86d519c0eac9
BLAKE2b-256 e552275a8255d6fb39707b4f430675fe3a35ec073cc5daf8b5be8927572279b9

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