Giter Site home page Giter Site logo

cityofphiladelphia / li Goto Github PK

View Code? Open in Web Editor NEW
9.0 19.0 5.0 886 KB

Search an address to see its Licenses & Inspections history

Home Page: https://li.phila.gov

License: MIT License

JavaScript 51.38% CSS 12.81% HTML 35.81%
jquerymobile li-property-history oit wcs

li's Introduction

L&I Property History

jQuery Mobile App use to pull Permits, Licenses, Violations and Appeals from the Department of Licenses & Inspections using the City of Philadelphia AIS and CARTO API.

Deploy instructions

The app is is deployed automatically using GitHub Actions to its S3 bucket whenever the master branch is updated through PR or direct commit

License

MIT

li's People

Contributors

alejandroxlopez avatar bertday avatar ingenieriawebprogramo avatar karissademi avatar m-atia avatar mheadd avatar timwis avatar tswanson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

li's Issues

Error when no history found

The error heading displayed when no L&I history is found may be confusing. It should simply say, "No history found."

Results when address key is empty

If you search for 1834 FRANKFORD AVE # 18 the AIS response has an empty string for li_address_key. The app then queries Carto with:

https://data.phila.gov/carto/api/v2/sql?q=SELECT * FROM LI_APPEALS WHERE addresskey IN ('') ORDER BY date_scheduled DESC

And gets >1000 results for other addresses (basically anything where the addresskey is empty in Carto.

Routing for appeals

When you search for 1834 FRANKFORD AVE # 18 and click on an appeal, the app navigates to:

http://li.phila.gov/details?entity=appeals&eid=1028692&key=&address=1834+frankford+ave+#+18

Somehow the hash is disappearing from before details; as a result, if you refresh the page it tries to fetch a file called details and 404s.

Also, the address param should be URI-encoded so the number sign before 18 doesn't affect routing.

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.