licen check (查牌)

25
LicenCheck () with Open Data Project Sharing @ Hong Kong Open Source Conference 2013 Cloud Innovation Centre (IVE-LWL) Open Data Hong Kong (ODHK)

Upload: ive-information-technology-discipline

Post on 29-Nov-2014

384 views

Category:

Technology


0 download

DESCRIPTION

LicenCheck is a free service that provides a searchable interface to data provided by the Hong Kong Food and Environmental Hygiene Department. Hong Kong requires operating restaurants to maintain valid licenses. But in Hong Kong's fast-moving economy it can be difficult to keep up with changes in restaurants and licenses. This application was designed to help the civil servants that enforce licenses and the general public that wants to validate the status of their local eateries. LicenCheck was developed by Alfred Lai, Ding Lam, Ron Tam, and Solomon Yan, students at the Institute of Vocational Education (IVE) in the Department of Multimedia and Internet Technology, with support of the IVE Cloud Innovation Center, and collaborating with Open Data Hong Kong. Further funding for this project comes from Amazon Web Services in the form of an Education Grant Award.

TRANSCRIPT

Page 1: Licen check (查牌)

LicenCheck (查牌)with Open Data

Project Sharing @ Hong Kong Open Source Conference 2013

Cloud Innovation Centre (IVE-LWL)Open Data Hong Kong (ODHK)

Page 2: Licen check (查牌)

Team Members

Developers:● Alfred Lai ● Ding Lam ● Ronald Tam ● Solomon Yan

Year 2 students, HD in Computer Systems Administration, IVE(LWL)

Advisers:● Mr. Cyrus Wong

Data Scientist, Cloud Innovation Centre - IVE(LWL)

● Mr. Scott DrummondsEcosystem Coordinator, Open Data Hong Kong

Page 3: Licen check (查牌)

Open Data Hong Kong

What is Open Data?

How can Open Data help us?

What Open Data exists in Hong Kong?

Page 4: Licen check (查牌)

News

(4 of 31 SUBWAY is unlicensed, FEHD just let it go)SUBWAY 31店 4間無牌 食環署僅票控了事

http://lifestyle.etnet.com.hk/column/index.php/features/news/18878?locdes=content

Page 5: Licen check (查牌)

Statistics

Page 6: Licen check (查牌)

If you have meal in unlicensed restaurants...

● Health & Safety

● Complaint

● Insurance

Page 7: Licen check (查牌)

Background

● LicenCheck is a free interface to FEHD Data

● The data change fast

● help civil servants and general public lookup valid licenses

Page 8: Licen check (查牌)

Technology

AWS Cloud Technology ● EC2 - Elastic Compute Cloud ● RDS - Relational Database Service (MySQL)● Route 53 - Scalable Domain Name System● S3 - Scalable Storage in the Cloud● CloudWatch - Provides monitoring for Cloud Resources

Automation Program● Java 1.7● Google Apps API for Apps

Webpage● Google Maps API V3

Page 9: Licen check (查牌)

System Overview

Page 10: Licen check (查牌)

Demo

LicenCheckhttp://chapi.data-hk.com

Page 11: Licen check (查牌)

Problems we faced

1. Address Format

'SHOP NO. 22, G/F, EASTWAY TOWERS, 59-99 SHAU KEI WAN MAIN STREET EAST, HONG KONG'= Hong Kong

2. Address Conversion - Limitation of Google Geocoding API

20,000 / 2500 = 8 days

Page 12: Licen check (查牌)

Best Geocoding Algorithm

A B C D E

Google API

A = 4, B = 7, C = 5,D = 4,E = 1

B

A. SHOP 27, G/F, ALDRICH GARDEN, 2 OI LAI STREET, SHAU KEI WAN, HONG KONGB. ALDRICH GARDEN, 2 OI LAI STREET, SHAU KEI WAN, HONG KONGC. 2 OI LAI STREET, SHAU KEI WAN, HONG KONGD. SHAU KEI WAN, HONG KONGE. HONG KONG

SHOP 27, G/F, ALDRICH GARDEN, 2 OI LAI STREET, SHAU KEI WAN, HONG KONG

Separate

(14 * 20,000 / 2500 ) = 112 days

Page 13: Licen check (查牌)

3. Too many restaurants within small area

Page 14: Licen check (查牌)

Solution - MarkerClusterer

Page 15: Licen check (查牌)

What we want

● License Valid Period○ to check whether the license is outdated

Page 16: Licen check (查牌)

Surprising Results

OpenRice v.s. LicenCheck

Total no. of restaurants in OpenRice: ~21,000Total no. of licensed restaurants: ~18,000

????

Page 17: Licen check (查牌)

Concerns

1. Data AccuracyLicense information does not match the real license status due to time delay.

2. Ease of Use

3. How Useful?

Page 18: Licen check (查牌)

Further Development

● LicenCheck○ Mobile Apps○ Liquor License

● ...

● ...

It’s just the start!

Page 19: Licen check (查牌)

What’s next?

a sub-project underHong Kong Data Platform

LicenCheckis

Page 20: Licen check (查牌)

Vision

1. Centralized Data Platform inside Cloud.2. Using public data.3. Extensible for future data, and4. Archived, consolidated data through a common

API.

Page 21: Licen check (查牌)

Hong Kong Data Platform Users

1. Developer - Using Data API2. Data Analyst - Export Data to Excel 3. Researcher - Big Data Dump with S3.4. Citizens - Simple Reports and Statistics

Page 22: Licen check (查牌)

Features

● Automatically Data Capture● Transform Data into Unified Format.● Data Visualization● Intelligent Data Analysis● Data Export● Generic API with Library Support for

Common Programming Languages.

Page 23: Licen check (查牌)

Help Us

● Volunteers help to fix the improper format address.

● Graphical Design (e.g. Attractive Icon)● Legal Advices● Any Suggestions / Comments

Page 24: Licen check (查牌)

Finally Thanks To

Amazon Web Services Give Education Grant Award to Cloud Innovation Centre - IVE(LWL)

Wai-Chung Bastien @ ODHKHelp to set up a temporary sub-domain in “opendatahk.com”.