Skip to content

cews7/bike-share

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bike Share

We used Ruby, Sinatra, and Activerecord to build a website that analyzes bike share usage in San Francisco.

Collecting the Data

Our application collects data by utilizing:

  1. User input through our web app, on which a user can enter trip/station/weather information

2) CSV files with historical information for stations, trips, and weather

Analysis

We started by analyzing the data from each table (stations, trips, and weather) seperately and then used their relationships to make connections and draw hypotheses based on what we found. Google maps is used to visually display available bike station locations & proximity.

The conditions table allows you to dynamically set the range and type of data to be displayed.

Setup Instructions

Run these commands in this order:

git clone https://github.com/DavidKnott/bike-share.git
cd bike-share
bundle
rails db:create
rails db:migrate
rails db:seed
rails db:test:prepare

Deployment instructions

To launch the project on local host, start up the rails server and visit the root path.

rails s

How to Run the Test Suite

Run rspec from the command line:

rspec

Tools/Technologies used

  • Git/GitHub
  • Waffle.io
  • HTML, CSS, Bootstrap
  • Sinatra and ERB templates
  • ActiveRecord
  • PostgreSQL
  • Rspec
  • Capybara

Data Disclaimer

  • Project was built using the entire San Fran Bikeshare dataset. However, due to limits on database entries in a free Heroku app, not all the data was seeded. Expect to see some null fields in the data analysis.

Project Team

Eric, David, Nick

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 52.0%
  • Ruby 40.1%
  • HTML 7.7%
  • JavaScript 0.2%