GithubHelp home page GithubHelp logo

Comments (6)

vincecampanale avatar vincecampanale commented on August 23, 2024

I think 'dummy_building.json' is a solid solution for now. We could even get real data from our data set and populate dummy_building without that data.

Good idea.

from housing-insights.

NealHumphrey avatar NealHumphrey commented on August 23, 2024

Let us (data team) know what format works best for you for the data, and we can make sure our python scripts output it in that format! We can make a couple real buildings worth for you to work from, too.

from housing-insights.

ptgott avatar ptgott commented on August 23, 2024

@hansak11 @vincecampanale @NealHumphrey @wassona @ostermanj @Jeannejk
Here's a list of data fields, as we talked about. They all come from the prototype of the building information page. We can add to/edit this list as we work through the building page, find data sources etc!

Coordinates of non-building things; used for determining what's near a building

Metro stops
Bus stops
PUD applications
Building permits
Buildings with affordable housing

Information to include for a given building's page

Subsidy types (Sec 202, Sec 8, Sec 207/233) and when they expire
Non-profit owned
Number of units
Number of studios
Number of 1BRs
Years until next subsidy expires
REAC score
Address
Owner telephone
Tax assessment

from housing-insights.

Jeannejk avatar Jeannejk commented on August 23, 2024

This is a first attempt at finding these datafields in the tables loaded into postgres. I found the source for some fields unclear, which I included in a notes column. For now I've been collecting the info in excel, but we can move it into a better format at the next meeting if needed.

Data Field Sources.xlsx

from housing-insights.

ptgott avatar ptgott commented on August 23, 2024

@vincecampanale @wassona @ostermanj
Updated 6 Mar 2017

I've done a bit more work on the Mapbox part of the building information page. So far I've pulled data from Open Data DC (the 'Affordable Housing' dataset) for development purposes, in place of the old Projects.csv. I've added a layer in one Mapbox map for all affordable housing. I've also done some work on making the MapboxPortal constructor a bit more extensible.

Here are some things that are left to do in adding Mapbox maps to the building page:

  • Integrate the building page with the 'app.dataCollection' object
  • Restructure the code to accommodate multiple datasets (e.g. there's a geoJSON file for metro stops on the Open Data DC page that I'd like to use for development). There could be a slew of AJAX calls when the information page loads, with the loading of the Mapbox maps taking place after these have finished.
  • Add multiple Mapbox maps and adjust the MapboxPortal constructor to make this simpler and DRYer.
  • Find a way to store information about the selected building (i.e. the building the information page is about) when the page loads. Since the shift from the moving block chart to the information page happens through a synchronous request, maybe it's most feasible to use a templating engine on the server? Or just switch from the moving block chart to the building information page through AJAX requests and keep the building information in memory as this happens?
  • Use a library to calculate the distance in miles between two geospatial coordinate pairs (this is the key bit of information in the text area of each accordion panel).

from housing-insights.

wassona avatar wassona commented on August 23, 2024

I finished an initial version of the building subsidy timeline chart, but implemented it with a local flat data file rather than a dummy_building.json, so I need to get that together. Tonight at the Hacknight I'm planning to start on the accordion.

from housing-insights.

Related Issues (20)

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.