All Projects → codeforkansascity → Neighborhood-Dashboard

codeforkansascity / Neighborhood-Dashboard

Licence: MIT License
We're working to help neighborhoods help themselves by giving them easy access to useful data to allow them to identify and track problem areas in their neighborhood.

Programming Languages

ruby
36898 projects - #4 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to Neighborhood-Dashboard

heart
Heart is a project working directly with the LA City Attorney’s Homeless Engagement and Response Team. We are building a database and case management system to streamline their workflow and enable them to scale their program. Find us on the Hack for LA Slack #heart.
Stars: ✭ 27 (+42.11%)
Mutual labels:  code-for-america
food-oasis
Repository for the current redevelopment of the Food Oasis Los Angeles website
Stars: ✭ 33 (+73.68%)
Mutual labels:  code-for-america
woeip
A platform for impacted communities to understand their local air quality and advocate for environmental justice.
Stars: ✭ 26 (+36.84%)
Mutual labels:  code-for-america
members
Online portal for Code for Denver members
Stars: ✭ 15 (-21.05%)
Mutual labels:  code-for-america
communityconnect
No description or website provided.
Stars: ✭ 23 (+21.05%)
Mutual labels:  code-for-america
tdm-calculator
DTLA Hack for LA is partnering with Los Angeles Department of Transportation (LADOT) to develop a Traffic Demand Management (TDM) calculator tool. This tool will help planners at LADOT and real estate developers to meet the Los Angeles’s Mobility Plan goals by 2035.
Stars: ✭ 21 (+10.53%)
Mutual labels:  code-for-america
CampaignFinance
NC Campaign Finance Dashboard. Making NC Campaign Funds visible to all citizens
Stars: ✭ 36 (+89.47%)
Mutual labels:  code-for-america
migrant service map
Refugees welcome
Stars: ✭ 23 (+21.05%)
Mutual labels:  code-for-america
datasci-housing-pipeline
Help us analyze data to understand why it takes so long to build housing in the Bay Area!
Stars: ✭ 12 (-36.84%)
Mutual labels:  code-for-america
HomeUniteUs
We're working with community non-profits who have a Host Home or empty bedrooms initiative to develop a workflow management tool to make the process scalable (across all providers), reduce institutional bias, and effectively capture data.
Stars: ✭ 22 (+15.79%)
Mutual labels:  code-for-america
ballotnav
A repository for HackforLA's BallotNav project
Stars: ✭ 21 (+10.53%)
Mutual labels:  code-for-america
clean-slate-data
No description or website provided.
Stars: ✭ 27 (+42.11%)
Mutual labels:  code-for-america
CTI-website-frontend
Join a worldwide movement to catalog 
every open source 
civic tech project.
Stars: ✭ 28 (+47.37%)
Mutual labels:  code-for-america
recordexpungPDX
A project to automate the expungement of qualifying criminal records in Oregon. This project is done in conjunction with Qiu-Qiu Law.
Stars: ✭ 45 (+136.84%)
Mutual labels:  code-for-america
Turkey-Geo-Neighborhood-Database
Cities, districts and neighborhoods of the Turkey with geolocation data. MongoDB
Stars: ✭ 26 (+36.84%)
Mutual labels:  neighborhood
windfall-elimination
Windfall Elimination Provision Awareness Project: improving the experience of retirees around an obscure Social Security rule affecting 8+ states (previously https://ssacalculator.org)
Stars: ✭ 23 (+21.05%)
Mutual labels:  code-for-america
311-data
Empowering Neighborhood Associations to improve the analysis of their initiatives using 311 data
Stars: ✭ 48 (+152.63%)
Mutual labels:  code-for-america
adopt-a-drain
A web application that allows citizens to "adopt" a storm drain in San Francisco. In use, and in development at other brigades. Looking for a maintainer or someone interested in developing further in collaboration with others across the country.
Stars: ✭ 43 (+126.32%)
Mutual labels:  code-for-america
openbudgetoakland
Visualizations of Oakland's budget data, and explanations about the budget process.
Stars: ✭ 91 (+378.95%)
Mutual labels:  code-for-america
lucky-parking
Visualization of parking data to assist in understanding of the effects of parking policies on a neighborhood by neighborhood basis in the City of Los Angeles
Stars: ✭ 24 (+26.32%)
Mutual labels:  code-for-america

Welcome to the KCNeighborhoodStat app project!

We're working to help neighborhoods help themselves by giving them easy access to useful civic open data. We're ultimately hoping to develop an app that- by providing easier access to civic open data- lets neighborhood organization and neighbors:

  • Better understand their neighborhood through data What is my neighborhood- what are its boundaries? How many people live there? How much crime happens here?

  • More easily track development and others projects in their neighborhoods Is a new business opening down the street? Is a building being torn down?

  • Make better decisions as a community Do we have a lot of senior citizens that need help with minor home repair?

  • Become more effective advocates for their community We need more police patrols and codes inspections- here's the data

Civic data: the opportunity

These days, we're seeing a greater availability of civic open data in cities across the country- Kansas City included! We believe this trend towards more open data is especially good news for the neighborhoods that make up the fabric of the city. Rich,up-to-date information about crime, development, and demographics is what neighborhoods need to make better decisions and to advocate for themselves more effectively with government agencies and other organizations.

Civic data: the problem

Unfortunately, even though the data are out there, its potential power to help neighborhoods isn’t yet realized. Accessing civic data might mean hours of wading through spreadsheets, then trying to interpret confusing terminology, or having to go through a website that is not easy to use for the average resident or neighborhood leader. Meanwhile, civic data is usually not presented at the neighborhood-level geography. Right now, for instance, it’s not possible to see the population of a neighborhood or the number of crimes that have occurred there recently.

That’s why we created KCNeighborhoodStat

We’re making an application that displays relevant civic open data at the neighborhood level.

To help realize the full potential of this data in benefitting our city’s neighborhoods, we want this tool to be:

  • User-friendly/visually appealing
  • Customizable (users can select which datapoints to display for a particular neighborhood)
  • Capable of displaying data over time (so that users can understand trends, put data in context)

How it works

Users of the site will be prompted to select a neighborhood on the homepage. This will direct them to a "neighborhood page," where they will be able to select a number of datapoints they would like to study.

Those data would be summarized in simple boxes, like in this example from this [civic data dashboard] (https://dashboard.edmonton.ca/) from the City of Edmonton, Canada’s website.

Another aspect of Edmonton’s dashboard we plan incorporate in our app is the ability to view data over time. By clicking on one of the data boxes, a detailed explanation of the data would expand and the data would be displayed on a graph. The graph could be standalone, allowing multiple datasets to be added to it, to allow comparison.

Ideally, data with a specific location would be displayed on the page’s neighborhood map.

Introduction for Developers

Thank you for assisting with this project! We can always use more coders to assist with what we are doing!

Our Application is built with Ruby on Rails as the backend, and React on the Frontend. In order to run theses, you need to have Ruby, Rails, and NodeJS installed on your device. There articles can assist. (Make sure you use node version 6.2.2)

NodeJS - https://nodejs.org/en/download/package-manager/ Rails - http://installrails.com/

If you are not using windows, I recommend installing the node version manager as well

NVM - https://github.com/creationix/nvm

If you are new to these concepts, these tutorials will be of great assistance.

  1. Ruby on Rails Tutorial (Chapters 1-6 should be sufficient)
  2. React Tutorial (A few examples should be suffice)

In addition, if you need assistance with git, I highly recommend going through this code school class.

Code School GIT Course

When you have cloned the application, you need to install all of the required rails dependencies to start developing.

bundle install --without production

Once you have checkout out this application, run the following command to setup your Database

bundle exec rake db:create db:migrate db:seed

After your database is ready, you now need to install the node modules.

sudo npm install

From here, what's left is running the following command to compile the react code.

sudo npm run webpack

Finally, run the following command to start the server

rails server

When this command is kicked off, a webpack dev server should be running that continually rebuilds your React code. Essentially, if you change and of the code inside app/js, the application should refresh itself. If you don't see that occur, run the following command to manually recompile the React code.

sudo npm run webpack

That's all you need! Now head to http://localhost:3000 to view the application!

Deployment

The first step is to create a container hosting a postgresql database. Create it, and keep in mind the IP address, port, and login credentials of the databasel.

For the app Docker is used to create an nginx and passenger build for the application. To use this, run the following command to get a secret token.

bundle exec rake secret

From there, run the following command to build the container

docker build . --tag=neighborhood-dashboard-test --build-arg database_name=<database_name> --build-arg database_user=postgres --build-arg database_password=<database_password> --build-arg secret_key_base=<secret_key> --build-arg postgres_port_5432_tcp_addr=<database_addr> --build-arg postgres_port_5432_tcp_port=<database_port|5432>

After that is complete, take the container, and run it on the box with the following command.

docker run -d -p 80:80 <docker_container_id_or_name>

Hosting

We are in the process of gaining control of the http://www.kcneighborhoodstat.org/ domain.

Vacancy Indicator Sources

The Vacancy tab currently includes filters which pull data from a variety of sources to display on the map:

  • Land Bank Property with Building: KCMO Land Bank Data dataset where property_condition like 'Structure%'
  • Land Bank Property - Vacant Lot, No Building: KCMO Land Bank Data dataset where property_condition like 'Vacant lot or land%'
  • Land Bank Property with Demo Needed: KCMO Land Bank Data dataset where demo_needed = 'Y'
  • Failure to Register as Vacant: KCMO Property Violations dataset where violation_code = 'NSVACANT'
  • Vacant Structure: KCMO 311 Call dataset where request_type in ('Animals / Pets-Rat Treatment-Vacant Home','Animals / Pets-Rat Treatment-Vacant Property','Cleaning vacant Land Trust Lots','Mowing / Weeds-Public Property-City Vacant Lot','Nuisance Violations on Private Property Vacant Structure','Vacant Structure Open to Entry')
  • 311 Open Cases: KCMO 311 Call dataset where status='OPEN'
  • KCMO Dangerous Buildings: KCMO Dangerous Buildings dataset (no additional criteria)
  • Vacant and Boarded: KCMO Property Violations dataset where violation_code = 'NSBOARD01'
  • Tax Delinquent: CodeForKC Address API which includes county_delinquent_tax_[year] fields for each year
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].