Skip to content

ak10net/insight_data_engineering_projects

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PLOPS: Parking Lot Occupancy Project in Seattle

  • Where can I find a parking spot near me?
  • Where is a street/block to find a parking spot right now? or in 1 hour?
  • How much will parking cost?

This project is a part of Data Engineering Program run by Insight Data Engineering Program. (Spring Session in Seattle, 2019)

PLOPS is running here: plops.beehives.dev

UI

Point where you'd like park on a map.

alt text

Data Source

Street Parking Occupancy data (Processed data)

Data Source Link

  • Seattle.gov update the data with a week delay.
  • Granularity of the data is by minute.
  • About 290 million records in a year. (~45GB)
  • Approx total of 1.4 billion records since 2012. (~320GB)
TimeStamp StationID Street Name # Occupaid spots # Total spots Max Park Mins
2019 Jan 02 08:41:00 AM 1 1ST AVE N BETWEEN JOHN ST AND THOMAS ST 2 4 120
2019 Jan 02 08:42:00 AM 1 1ST AVE N BETWEEN JOHN ST AND THOMAS ST 2 4 120
2019 Jan 02 08:42:00 AM 2 SPRING ST BETWEEN 8TH AVE AND 9TH AVE 4 5 30

Street Parking Transaction data (Raw data)

Data Source Link

  • Updated daily in the morning.
  • PLOPS uses this schema and simulates as real-time.
TimeStamp Station ID Amount $ Paid Duration(sec)
12/01/2018 18:27:17 1 2.25 5400
12/01/2018 13:44:03 1 4 7200
12/01/2018 14:21:53 2 3 3600

Pipeline

alt text

How to run PLOPS

  • Simulate transaction data
./kafka/producer.py
  • Update Live data
./spark-streaming/run_spark_streaming.sh
  • Update Batch data
./spark-batches/run_batch_process.sh
  • Start Web Server
python ./django/plops/manage.py runserver 0:8000

About

Data engineering Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 53.3%
  • Jupyter Notebook 23.3%
  • JavaScript 9.5%
  • PLpgSQL 9.3%
  • Shell 2.5%
  • HTML 1.9%
  • CSS 0.2%