Top Banner
Alexa / Toronto Open Data
22

Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Feb 19, 2017

Download

Data & Analytics

David Janes
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Alexa /Toronto Open Data

Page 2: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

David Janes@dpjanes

[email protected]://iotdb.org/social/imadeit/

February 2017

Page 3: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Introduction

Page 4: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Background

• hackster.io contest, do something useful with:

• Alexa / Amazon Echo

• Open Data

Page 5: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

My Project

• Alexa Toronto Open Data

• https://www.hackster.io/dpjanes/alexa-open-data-toronto-dbc9fc

• Control a "Kiosk" through voice commands

• [demo]

Page 6: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Alexa, ask Hey Toronto…

• Show Skating Rinks

• Show Skating Rinks near Yonge & Eglinton

• Show the CN Tower

• Show Beaches

• Show Libraries near Woodbine Beach

Page 7: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Important Links

• Code, Alexa Skill, Datahttps://github.com/dpjanes/alexa-opendata

Page 8: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Normalizing Data

Page 9: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Data Sets• Bicycle Stations

• Cultural Hotspots

• Green P Parking

• Intersections

• Libraries

• Parks

• Places of Interest

• Places of Worship

Page 10: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Data Formats (in)

• Shapefiles

• XML

• KML

• JSON

• CSV

Page 11: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Data Format (out)

• schema.org

• standardized vocabulary for well-known frequently used terms

• YAML

Page 12: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Data Format (out)

Page 13: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Alexa Skills(Voice Control)

Page 14: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

What• amphitheatre

• amphitheatres

• architecture

• architectures

• art

• art galleries

• art gallery

• arts

• attractions

• auditorium

• auditoriums

• …

Page 15: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Where• 48th Highlanders

Museum

• ALLEN RD and Eglinton

• Adelaide and Bathurst

• Adelaide and Bay

• Adelaide and Bayview

• Adelaide and Eastern

• Adelaide and Jarvis

• Adelaide and Spadina

• Adelaide and University

• Adelaide and Yonge

• Aga Khan Museum

• …

Page 16: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Utterances• where is the {Where}

• where is {Where}

• where are {What}

• where are {What} near {Where}

• where are {What} near the {Where}

• where are {What} near me

• where are {What} near us

• where are {What} nearby

• show me {What}

• …

Page 17: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Important Links

• Alexa Skills Console https://developer.amazon.com/edw/home.html#/skills/list

• Sample Code & Skill https://github.com/dpjanes/homestar-alexa

Page 18: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Final Notes

Page 19: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Services

• Amazon Alexa

• Firebase

• Digital Ocean (LAMP-ish)

Page 20: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Pit/Pratfalls

• Amazon Echo is rather awful at strange words, like Toronto street names (e.g. Bay & Adelaide)

Page 21: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Possible Uses

• 311 Assist

• Tourism Kiosks

• …

Page 22: Alexa / Toronto Open Data - Civic Tech Toronto Presentation

Get in touch! David Janes

@[email protected]

http://iotdb.org/social/imadeit/