Download - College Van Trends Tot Innovatie
![Page 1: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/1.jpg)
Van trends tot innovatieOpen data: CitySDK & API’S - 15-11-2013Wouter Meys & Maarten Groen
![Page 2: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/2.jpg)
Content● Part I
○ Open data○ The CitySDK project○ Try the CitySDK API
● Part 2○ Social media API’s○ Using the Twitter API
![Page 3: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/3.jpg)
Open dataWhat is open data?● A piece of data is open if anyone is free to use, reuse,
and redistribute it — subject only, at most, to the requirement to attribute and/or share-alike.
![Page 4: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/4.jpg)
Current issues of open data● Different locations and different formats
● No data format standards (across countries)
![Page 5: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/5.jpg)
Five stars of Tim Berners-Lee★ make your stuff available on the Web (whatever format) under an open license
★ ★ make it available as structured data (e.g., Excel instead of image scan of a table)
★ ★ ★ use non-proprietary formats (e.g., CSV instead of Excel)
★ ★ ★ ★ use URIs to denote things, so that people can point at your stuff
★ ★ ★ ★ ★ link your data to other data to provide context (semantic web)
![Page 6: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/6.jpg)
Part I: The CitySDK project● Eight European Cities
● Open data platform○ Work packages: Mobility, Tourism, Participation
● Helping cities to open their data
● Giving developers the tools they need
![Page 7: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/7.jpg)
The CitySDK framework (1)
![Page 8: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/8.jpg)
The CitySDK framework (2)
![Page 9: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/9.jpg)
HvA contributions ● Collect data on tourists' movements, activities and/or
experiences
● For organizations in the tourism sector, increase knowledge on their clients
● Enabling smarter information (services) for tourists
![Page 10: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/10.jpg)
Implementation● Replicate the Lissabon head tourism pilot
● Tourism pilot focuses on:○ Points Of Interests (POI)○ Events○ Routes
● Using Open Data○ Arts Holland ○ Hotels: amsterdamopendata.nl○ Restaurants: ATCB
![Page 11: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/11.jpg)
Dynamic data ● Collaboration with Van
Gogh museum○ Measuring queue
length○ Interesting info for
Van Gogh○ Better services for
tourists
![Page 12: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/12.jpg)
Sensor system● Ultrasonic sensor ● Four separate wireless
transmitters ● One base station
![Page 13: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/13.jpg)
Sensor framework
![Page 14: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/14.jpg)
Sensor locations
![Page 15: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/15.jpg)
From test lab to living lab● Four sensor are placed● Problems:
○ Rain○ Range○ Base station location
● Fixes: ○ Improved case○ Better antennas
![Page 16: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/16.jpg)
Application showing data● Show queue
● Go to POI/Events
● Create your own route
![Page 17: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/17.jpg)
The CitySDK API● Tourism:
○ API: citysdk.dmci.hva.nl/CitySDK/resources○ Documentation: http://citysdk.ist.utl.pt/
● Mobility○ dev.citysdk.waag.org
![Page 18: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/18.jpg)
ApplicationsApplications made with CitySDK API● Open Data Globe
○ http://dev.citysdk.waag.org/visualisation/
● Buildings in the Netherlands by year of construction○ http://dev.citysdk.waag.org/buildings/
![Page 19: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/19.jpg)
Try it out● Look at the different datasets
○ http://cms.citysdk.waag.org
http://dev.citysdk.waag.org/● Try to retrieve all restaurants available in the API that
are located in ‘stadsdeel west’ in Amsterdam
● Play around with combination of various datasets
![Page 20: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/20.jpg)
Short Break (15 min)
![Page 21: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/21.jpg)
Part II: Social media API’s● Twitter
○ +: Data is open, geolocation ○ -: Data reliability , sparsity , firehose
● Facebook○ +: Large userbase, Likes, Companies ○ -: Accessibility, query language
● Other: Flickr, FourSquare, Instagram etc. etc.
![Page 22: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/22.jpg)
Combining API’s● Livehoods
○ http://livehoods.org/maps/nyc
● Please Rob Me○ http://pleaserobme.com/why
● Streamwatchr○ http://streamwatchr.com/
![Page 23: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/23.jpg)
The Twitter API● What did we do?
○ Collect tweets with geolocation in Amsterdam
● Visualize the data in different ways
![Page 24: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/24.jpg)
Using the Twitter API● Streaming API● REST API● Firehose
● Authentication● Documentation: dev.twitter.com
![Page 25: College Van Trends Tot Innovatie](https://reader034.vdocuments.net/reader034/viewer/2022051819/54c6f07f4a7959ac2f8b45fd/html5/thumbnails/25.jpg)
Try it out!● Register an application (dev.twitter.com)● Check for library (https://dev.twitter.com/docs/twitter-libraries)
○ Javascript: codebird-js○ Processing: http://blog.blprnt.com/blog/blprnt/updated-quick-
tutorial-processing-twitter (or google: processing twitter)
● Retrieve current trending topics (in The Netherlands)● Retrieve tweets(no retweets) from the past week in
Amsterdam