GithubHelp home page GithubHelp logo

scooter-app's Introduction

Scooters in Austin

Data Analysis and Visualization Boot Camp 2019-2020 JSON& Team (2) (T/Th)

If you've been out and about on campus or in downtown Austin, you can't help but notice that scooters are all over the place. We decided to examine distance and duration of scooter rides and where people complain about scooters.

In our first project we merged data sets to create visualizations comparing complaints to rides, to see if there were some neighborhoods that were being the squeaky wheels or if there really was a scooter problem in certain areas. As we had hypothesized, scooters that find their way into further out neighborhoods are less likely to be picked up and thus take longer to be ridden back into town, are much more likely to result in a complaint.

In our previous presentation, we called out some limitations and remaining questions that we had, and have demonstrated some of those here in Project 2.

In this project we used mySQL, FastAPI, Uvicorn, Plotly and Cloud Run for this web app.

Our Project is a dashboard for reviewing complaints, rides, and certain trends that we found interesting. The routes we decided to demonstrate for you all are:

• Longest rides

• Rides that went nowhere

• Explore a random ride that someone took in Austin

• What is the red zone, or neighborhoods you just shouldn't leave scooters in?

• What are the percent of complaints, rides in, rides out, and other stats about specific zip codes?

We hope you'll find this data to be as interesting as we did, regardless of whether you consider yourself a part of the shared mobility revolution or not.

scooter-app's People

Contributors

jansenkat avatar elg0m3z avatar jljones78 avatar skhan4321 avatar erinbentley avatar el-g0m3z avatar cosmic17kat avatar

Stargazers

 avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

scooter-app's Issues

Queries

create sqlalchemy queries to pull data into plotlyjs files

Postman Testing

Must use Postman with at least one request for each route
export a collection and share in github

Presentation

organize / script presentation
anticipate questions

Deployment

Deploy with heroku
link heroku to db?

Zero Distance/Nowhere

Zero Distance Initial Load does not display Number of Trips
----- Other Dropdown options show high load time / freeze page

Home Route Test

Homepage HTML template Test
Test the app with Thomas' template

  • Run the fast api app with the template
  • Seeing if API works with the template

README.md

Create and update Readme to be used in presentation as well as guide for repo.

API to Database Connection Test

Test that the API is connected to database
• 2 API routes (one for each table)

  • Test API routes (testing functionality of fast API)
  • Docs page should be automatically created
  • Should return a JSON of the table (one table or the other)

Database

Pull database form google cloud to thumbdrives

HTML Home Page

Create html file for home page
Include endpoints and how to use them (on main page or linked page)

Create App file

At least 5 routes
Linked with database (Jason's google cloud db)

Longest Ride Page

Longest Ride - Duration Dropdown.click displays only 5 traces
----- Toggling back to Distance on Dropdown does not work/refresh plot

Zipcode Test

Run the URL/zipcode
Test If zip code alone will work with Jinja

  • Page should display numeric zip code that was entered in URL

Pipenv

Create Pipfile
should include (versions to be specified):

  • python
  • sqlalchemy
  • flask
  • flask-sqlalchemy
  • plotly
  • pandas
  • black --pre --dev

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.