Giter Site home page Giter Site logo

permittrends's Introduction

Permit Trends

Analyzes historical permits to find recently trending values.

Open directory with Docker installed and run bash build

In future builds, if no changes have been made, run docker-compose --log-level ERROR up

kwargs (bold are required):

ALL:

  • csv_path (str)
  • location (str)
    • Location tag to be used in visualization title
  • min_dt (str)
    • Minimum date cutoff
  • date_col (str)
  • filter_cols (dict)
    • Columns to filter by
    • e.x. {"Permit Class Mapped": ["Residential"], "Permit Type Desc": ["Building Permit"]}
    • For numerical data (e.g. sqft), {"Total Lot SQFT": [1000,]} would return all permits with sqft greater than 1000 sqft
    • {"Total Lot SQFT": [1000,15000]} returns between 1000 and 15000
  • remove_values (dict)
    • Values to remove in a specific column
    • Same syntax as filter_cols. {"Owner": ["NULL"]} removes all "NULL" values in the "Owner" column.
  • num_results
  • max_dt (str)
    • Maximum date cutoff
  • display_kwargs
    • boolean, decides whether to include kwargs textbox in plot

GeoTrends:

  • lat_col (str)
  • lon_col (str)
  • top_areas_cutoff (int)
  • max_miles (float)

PermitTrends:

  • owners_col (str)
  • top_owners_cutoff (int)
  • resample_size (str)
    • Bins for charting values, e.x. "1M" alt text

Example Outputs:

GeoTrends:

Austin

alt text

LA

alt text

Chicago

alt text

PermitTrends

Austin

alt text

LA

alt text

Chicago

alt text

permittrends's People

Contributors

parkervg avatar

Watchers

 avatar

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.