No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
app
python
schema
.gitignore
LICENSE
README.md
TODO.md
api.py
build.sh
errors.md
queries.md

README.md

Housemind

Let's mine the Washoe County assessor data!

Build

Copy the example_settings.py to settings.py and adjust the database connection strings for whatever database install you want to use.

To generate the CSV files from the assessor data, run the command convert_to_csv.py in the python/ directory. No dependencies are needed.

python convert_to_csv.py Property.txt

Sample JSON files can be also generated using convert_to_json.py. It takes an optional limit argument to output a specific number of items. No dependencies are needed.

python convert_to_json.py Property.txt

python convert_to_json.py Property.txt 20

To run the build script, there must be a PostGres installation and the following python dependencies must be installed:

  • SQLAlchemy==0.8.2

To build, run these scripts in the schema dir (or use the build file!):

python build.py
python load.py <path to .csv data>
python flatten.py <path to support data>
python latlong.py <path to address file>