Top Banner
` Get me my Data ! Use the web as a data source
41

Web as a data resource

Jan 20, 2015

Download

Documents

Tech Talk at Georgia Tech

Hack U, 8 March 2011
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: Web as a data resource

`

Get me my Data !Use the web as a data source

Page 2: Web as a data resource

2

Hack U @ Georgia Tech - March 8 – 12 2011

Page 3: Web as a data resource

Subramanyan MuraliyahooMail Engineer Hacker, Photographer, Traveler @rmsguhan

Page 4: Web as a data resource

Data and hacks

4

Page 5: Web as a data resource

Putting something together in 24 hours can be a real

rush !5

Page 6: Web as a data resource

Need innovative ways to make the data into

information that is useful

7

Page 7: Web as a data resource

Any resource on the internet is a source of

data …

8

Page 8: Web as a data resource

… that means that there is a lot of data

9

Page 9: Web as a data resource

Loads and loads of data and data

services

10

Page 10: Web as a data resource

Data that is complex and in many formats

11

Page 11: Web as a data resource

Navigating through all the complexity can be hard !#$%&

12

Page 12: Web as a data resource

How to solve the data problem ?

13

Page 13: Web as a data resource

http://pipes.yahoo.com saves the day!

14

Page 14: Web as a data resource

15

Graphical interface to play with data !

Page 15: Web as a data resource

WYSIWYG = pipes

16

Page 16: Web as a data resource

Pipes is a visual tool, where is my command

line ??

18

Page 17: Web as a data resource

Put your hands up for YQL !

19

Page 18: Web as a data resource

Common data access language across the

webdeveloper.yahoo.com/y

ql

20

Page 19: Web as a data resource

SQL like syntaxStandard and easy to use

21

Page 20: Web as a data resource

select {what} from {service} where {condition} in ({sub-query} )

22

Page 21: Web as a data resource

Several services can be chained using in ()

23

Page 22: Web as a data resource

YQL Console

24

Page 23: Web as a data resource

Lots of Integrations and predefined tables

anyone can be part of the interface

25

Page 24: Web as a data resource

Fetching data from a resource has never

been simpler

!

26

Page 25: Web as a data resource

http://query.yahooapis.com/v1/ public/yql?q={query} &format={format}

27

Page 26: Web as a data resource

Irrespective of the source, output can be

standardized …

28

Page 27: Web as a data resource

29

… thus giving you a solid & consistent data foundation

Page 28: Web as a data resource

Input can be XML, HTML, CSV, micro-

formats, Atom feeds, JSON, RSS

30

Page 29: Web as a data resource

Output can be JSON or XML

31

Page 30: Web as a data resource

Mix and match YQL and Pipes ?

32

Page 31: Web as a data resource

Pipes provides you with processing

capabilities

33

Page 32: Web as a data resource

YQL is another feed source

34

Page 33: Web as a data resource

Interlinking YQL and Pipes =

fewer lines of code

35

Page 34: Web as a data resource

Not limited to Yahoo! sources

Page 35: Web as a data resource

select * from google.translate where q in (select text from twitter.search where q="georgia tech") and target='fr';

Page 36: Web as a data resource

Fire off multiple queries at once

Page 37: Web as a data resource

select * from query.multi where

queries=‘{query1};{query2}’;

Page 38: Web as a data resource

Create your own tables with Open

tables

www.datatables.org/

Page 39: Web as a data resource

http://www.yqlblog.net/

Page 40: Web as a data resource

Go explore !

developer.yahoo.com/yql/console/

Page 41: Web as a data resource

Happy Hacking !!

Photos @ http://flickr.com/photos/rmsguhan