17. Some very good data
sources:
http://developer.yahoo.com/
everything.html
http://data.gov.uk
http://www.guardian.co.uk/world-
government-data
http://programmableweb.com/
http://www.guardian.co.uk/news/
datablog
18. The trouble with data:
You need to get access to the data
sources (API keys, authentication)
You need to get data in formats that
are easy to use for your use case
You need to filter the data down to
what you really want to have in the
end.
All of the above multiplies in
annoyance with the amount APIs you
use.
23. select * from query.multi where
queries in (
'select * from nyt.article.search where
query="healthcare"',
'select * from microsoft.bing.news where
query="healthcare"',
'select * from google.news where
q="healthcare"'
)
24. select content from html where
url="http://www.foxnews.com/"
and xpath="//h2/a"
25. select * from google.translate
where q in (
select content from html where
url="http://
www.foxnews.com/" and
xpath="//h2/a"
) and target="pt"
26. insert into wordpress.post
(title, description, blogurl,
username, password)
values ("Test Title", "This is a
test body", "http://
yqltest.wordpress.com",
"yqltest", "password")
27. Using YQL has a lot of
benefits:
No time wasted reading API docs
Using the console makes creating
complex queries dead easy.
Data filtering down to the least
amount necessary.
Fast pipes.
Caching + converting
Server-side JavaScript
54. select * from csv where url="http://
spreadsheets.google.com/pub?
key=tpWDkIZMZleQaREf493v1Jw&output=
csv" and
columns="Year,City,Sport,Discipline,Countr
y,Event, Gender,Type" and Year="1924"