Coder Social home page Coder Social logo

projectmesadata / syntheticpopulation Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 6.0 21.51 MB

Creates a data pipeline from WorldPop.org so users can build a realistic synthetic population to seed their models.

License: Apache License 2.0

Jupyter Notebook 99.95% Python 0.05% Shell 0.01%
agent-based-modeling population population-dynamics data-pipeline binder-jupyter-notebook

syntheticpopulation's Introduction

Synthetic Population

This repository uses Worldpop.org to generate a synthetic population to seed a Agent Based Model.

It consists of four files:

  1. Population Data Download: This file downloads Worlpop density data and demographic data for the desired country of interest using Worldpop's file transfer protocol (ftp) procedures. It does require a log in.
    Binder
  2. Density Exploration and Conversion: This file takes the downloaded density (ppp) file, plots the density it on a heat map and allows users to select the whole country or narrow down to smaller location. The information is saved in Hierarchical Data Format 5 (.h5). Due to the size of the files this is the only file where the data is stored locally on github and can run completely through the binder badge using Albania as an example. However, larger countries will be significantly larger files.
    Binder
  3. Demographic Exploration and Conversion: This files takes the downloaded demographic data and plots it in a vertical bar graph. The files then saves at the users desired level of accuracy an .h5 file. Due to the size and number of data these files can be very large as an example a country the size of Niger is approximately 70 gigabytes.
    Due to file size the Demographic file does not have any GitHub stored files
    Binder
  4. syntheticpopulation_starter: This file provides an example of taking the demographic.h5 file and converting it Mesa agent objects in a RandomActivation schedule.

syntheticpopulation's People

Contributors

tpike3 avatar

Stargazers

 avatar

Watchers

 avatar

syntheticpopulation's Issues

Convert o JupyterLab

Binder has converted to JupyterLab, notebooks need to be updated to work in JupyterLab

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.