AntiEvictionBoston / FakeEvictionData

Need some fake data? This is the place!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Fake Evictions

Let's generate some fake evictions!

This is a little Python utility for doing so. It uses the master address list for Boston, which you can download here (grab the CSV).

##Usage

This was written with Python 3 in mind, it's not super likely to work easily with Python 2.

First convert the CSV file to a sqlite3 db:

sudo pip install -r requirements.txt
csvsql --db sqlite:///addresses.db --insert --table address Master_Address_List.csv

then we can run the little Python script:

python generate_evictions.py

and answer the prompts! Hooray fake data! It will write them to evictions.json. It's pretty quick, so don't worry about asking it for 10 or 20 thousand evictions.

About

Need some fake data? This is the place!

License:GNU Affero General Public License v3.0


Languages

Language:Python 100.0%