Licen check (查牌)

Post on 29-Nov-2014

378 views 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 of Licen check (查牌)

LicenCheck (查牌)with Open Data

Project Sharing @ Hong Kong Open Source Conference 2013

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

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

Open Data Hong Kong

What is Open Data?

How can Open Data help us?

What Open Data exists in Hong Kong?

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

Statistics

If you have meal in unlicensed restaurants...

● Health & Safety

● Complaint

● Insurance

Background

● LicenCheck is a free interface to FEHD Data

● The data change fast

● help civil servants and general public lookup valid licenses

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

System Overview

Demo

LicenCheckhttp://chapi.data-hk.com

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

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

3. Too many restaurants within small area

Solution - MarkerClusterer

What we want

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

Surprising Results

OpenRice v.s. LicenCheck

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

????

Concerns

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

2. Ease of Use

3. How Useful?

Further Development

● LicenCheck○ Mobile Apps○ Liquor License

● ...

● ...

It’s just the start!

What’s next?

a sub-project underHong Kong Data Platform

LicenCheckis

Vision

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

API.

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

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.

Help Us

● Volunteers help to fix the improper format address.

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

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”.

Q&ALicenCheck:http://license.data-hk.comorhttp://chapi.data-hk.com

Email:licencheck@gmail.com