Skip to content

UDST/synthpop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6fb1399 · Oct 28, 2021
Apr 27, 2018
Apr 27, 2018
Jul 16, 2015
Oct 28, 2021
Jun 27, 2014
Mar 1, 2021
Jul 2, 2014
Aug 16, 2019
Aug 16, 2019
Jun 23, 2020
Nov 13, 2020
Nov 11, 2020
Mar 1, 2021

Repository files navigation

SynthPop

Build Status Test Coverage

SynthPop is a reimplementation of PopGen using the modern scientific Python stack, with a focus on performance and code reusability.

The SynthPop code is a completely new implementation of the algorithms described in this reference, and the paper as well as this repository should be cited if you use SynthPop:

Ye, Xin, Karthik Konduri, Ram Pendyala, Bhargava Sana and Paul Waddell. A Methodology to Match Distributions of Both Households and Person Attributes in the Generation of Synthetic Populations. Transportation Research Board 88th Annual Meeting Compendium of Papers DVD. January 11-15, 2009

The paper is available here: http://www.scag.ca.gov/Documents/PopulationSynthesizerPaper_TRB.pdf

# Installation

` virtualenv venv --python=python3.7 source venv/bin/activate pip install -r requierements.txt cd synthpop/ python setup.py develop ` To run Synthpop you need a Census API that you can get one from [here](https://api.census.gov/data/key_signup.html). After you get and validate the API key you can add it as an enviromental variable to your environment as by adding to /venv/bin/activate the following line: export CENSUS='yourApiKey'