Skip to content

PropertyPraxis/property-praxis-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Property Praxis Data

Code for building the Property Praxis database

Steps

  • Download a parcel file from the city's data portal
  • Create a list of parcels that have changed ownership and aren't currently coded by updating and running scripts/identify_ownership.py
  • Once the coding is done for the year, save it to input/own-id-$YEAR.csv
  • Update and run scripts/own_id_map.py to create a new mapping of all taxpayers that have been coded to speculator names
  • Backup any created files to the S3 bucket
  • Update scripts/clean_files.py with any changes from the latest data
  • With a fresh database, run sql/schema.sql to load the database schema
  • With the schema loaded, run python scripts/clean_files.py to merge and reload the database
  • Run make tiles to regenerate the vector tiles and then deploy them to S3
  • Run pg_dump and pg_restore with the --clean flag to overwrite the existing database with new records

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published