SlideShare a Scribd company logo
IBM Cloud Data Services
Optimizing Location Based Apps
with Open Data
Raj Singh, PhD
Developer Advocate: Geo | Open Data
rrsingh@us.ibm.com
http://ibm.biz/rajrsingh
twitter: @rajrsingh
@rajrsingh
IBM Cloud Data Services
Read my newsletter on open data!
http://opendatamag.rajsingh.org
My background
Developer Advocate, Geo + open data
IBM Analytics
MCP, Ph.D.
Urban Studies & Planning
Crime data blog hot off the presses
https://developer.ibm.com/clouddataservices/2016/11/03/open-crime-data
@rajrsingh
IBM Cloud Data Services
Agenda
• Finding and harvesting open crime data
• Data wrangling & schema reconciliation
• Products
• data service
• safety app
@rajrsingh
IBM Cloud Data Services
Architecture
@rajrsingh
IBM Cloud Data Services
Harvesting
Crime
Data
@rajrsingh
IBM Cloud Data Services
Open data is on the rise
open data?
Technology maturity curve
@rajrsingh
IBM Cloud Data Services
Where to find open data
US
• http://us-city.census.okfn.org
UK crime data:
• https://data.police.uk/data/
Europe
• https://data.europa.eu/euodp/en/data
• https://www.europeandataportal.eu/
@rajrsingh
IBM Cloud Data Services
The Socrata API
@rajrsingh
IBM Cloud Data Services
Data
Wrangling
Gaucho Data Wrangler. Picture by Dave Werkley, http://compendiumofcountries.org/wiki/index.php?title=File:Data_Wrangler_-_Gaucho.png
@rajrsingh
IBM Cloud Data Services
Data wrangling crime codes
@rajrsingh
IBM Cloud Data Services
Querying Socrata for Boston Crimes
• https://data.cityofboston.gov/resource/29yf-ye7n.json?
$where=
occurred_on_date>=“2016-08-23” AND
occurred_on_date<“2016-08-24”
• Then run it every day…
@rajrsingh
IBM Cloud Data Services
Boston crime data query response
@rajrsingh
IBM Cloud Data Services
Crime reconciliation
• CDSNV: non-violent
• CDSDV: domestic
violence
• CDSSTREET: street crime
@rajrsingh
IBM Cloud Data Services
Data
Products &
Offerings
By Patrick Denker from Athens, GA - DSC04878, CC BY 2.0, https://commons.wikimedia.org/w/index.php?curid=37301184
@rajrsingh
IBM Cloud Data Services
REST API & Mapping
@rajrsingh
IBM Cloud Data Services
Cloudant / CouchDB replication
Warning:
Cloudant Free tier
only supports 1Gb
of data
@rajrsingh
IBM Cloud Data Services
Then this happened…
@rajrsingh
IBM Cloud Data Services
The danger zone
@rajrsingh
IBM Cloud Data Services
Safety app architecture
1. Built using Ionic framework
2. Cloudant -> mobile replication
3. Safety rating decision
4. Notification
https://github.com/ibm-cds-labs/crionic | by Jason Smith
@rajrsingh
IBM Cloud Data Services
Safety app phase 2
• Add Census demographics
• Population: crimes per capita
• Housing quality
• Add Points of Interest
• Commercial activity: busy areas are safer
IBM Cloud Data Services
Raj Singh
Developer Advocate: Geo | Open
Data
rrsingh@us.ibm.com
http://ibm.biz/rajrsingh
Twitter: @rajrsingh
LinkedIn: rajrsingh
Thanks
• REST API
• http://ibm.biz/opencrimes
• Crime demos
• http://crimedemos.mybluemix.net/crimebrowser
• http://crimedemos.mybluemix.net
• Crime code reconciliation tables
• https://github.com/ibm-cds-labs/open-data/tree/master/crime
• Harvesting service code
• https://github.com/ibm-cds-labs/crimeharvest
• IBM Cloud Data Services on Bluemix
• http://www.ibm.com/cloud-computing/bluemix/solutions/data-analytics/

More Related Content

PPTX
How I built a ml human hybrid workflow using computer vision - Amir Shitrit
PPTX
The IoT Transformation and What it Means to You - Nir Dobovizky
PPTX
Serverless operations for the iRobot fleet
PPTX
Serverless Event-Driven Programming: Are We Ready for the Paradigm Shift?
PPTX
Azure - The Good Parts
PPTX
Digital Journey
PPTX
Cloud integration: what's in it for you? (Toon Vanhoutte & Massimo Crippa at ...
PDF
Logic Apps: El Poder de la nueva Integración (por Félix Mondelo)
How I built a ml human hybrid workflow using computer vision - Amir Shitrit
The IoT Transformation and What it Means to You - Nir Dobovizky
Serverless operations for the iRobot fleet
Serverless Event-Driven Programming: Are We Ready for the Paradigm Shift?
Azure - The Good Parts
Digital Journey
Cloud integration: what's in it for you? (Toon Vanhoutte & Massimo Crippa at ...
Logic Apps: El Poder de la nueva Integración (por Félix Mondelo)

What's hot (19)

PDF
Peter Bakas - Zero to Insights - Real time analytics with Kafka, C*, and Spar...
PPTX
SnapLogic Live: Anaplan Integration
PDF
Mistakes - I’ve Made a Few. Blunders in Event-driven Architecture | Simon Aub...
PDF
OWF13 - October 3 - Raphael Ferreira
PPTX
Microservices: Architecture and Practice
PDF
Unleash office 365 with the power of cognitive services and microsoft graph api
PPTX
Artificial Intelligence Risk Assessment using Microsoft Azure Cognitive Services
PPTX
You Can Do That on the Cloud? Finance & Healthcare
PDF
APIdays Paris 2018 - From real-life challenges to industrial IoT solutions, i...
PPTX
Glenn Ricart of US Ignite: Gigabit Apps (Gigabit City Summit)
PDF
Intelligent internet of things with Google Cloud
PDF
Simplify Data Analytics Over the Cloud
PPTX
Kubernetes & Redis: Aparna Sinha
PDF
Anomaly Detection using ML in Elisa Viihde CDN
PDF
Government Track Welcome Address
PDF
Cloud Con 2015 - Integration & Web APIs
PDF
Cisco Connect 2018 Thailand - Secure, intelligent platform for the digital bu...
PDF
How to Plan and Run your Digital Transformation
PPTX
Graph API Strategies: CQRS for the sustainable API economy
Peter Bakas - Zero to Insights - Real time analytics with Kafka, C*, and Spar...
SnapLogic Live: Anaplan Integration
Mistakes - I’ve Made a Few. Blunders in Event-driven Architecture | Simon Aub...
OWF13 - October 3 - Raphael Ferreira
Microservices: Architecture and Practice
Unleash office 365 with the power of cognitive services and microsoft graph api
Artificial Intelligence Risk Assessment using Microsoft Azure Cognitive Services
You Can Do That on the Cloud? Finance & Healthcare
APIdays Paris 2018 - From real-life challenges to industrial IoT solutions, i...
Glenn Ricart of US Ignite: Gigabit Apps (Gigabit City Summit)
Intelligent internet of things with Google Cloud
Simplify Data Analytics Over the Cloud
Kubernetes & Redis: Aparna Sinha
Anomaly Detection using ML in Elisa Viihde CDN
Government Track Welcome Address
Cloud Con 2015 - Integration & Web APIs
Cisco Connect 2018 Thailand - Secure, intelligent platform for the digital bu...
How to Plan and Run your Digital Transformation
Graph API Strategies: CQRS for the sustainable API economy
Ad

Viewers also liked (12)

PDF
Mining the Web for Points of Interest
PPTX
GeoPackage, Context and POI (and a sprinkle of GeoJSON)
PPT
BlueBRIDGE: Cloud infrastructure serving aquafarms and supporting models
PDF
Supporting Geo-Ontology Engineering through Spatial Data Analytics
PDF
C+P-and-partners_Working process
PDF
Automation of Glass fiber Deployments in The Netherlands
PPT
Geo-analytics Architecture - Technologies
PPTX
From Spark to Ignition: Fueling Your Business on Real-Time Analytics
PDF
Leveraging Geo-Spatial (Big) Data for Financial Services Solutions
PPTX
The NoSQL Geospatial Landscape
PPTX
The Road To RAM - Carlos Bueno, MemSQL
PPTX
Using Big Data techniques to query and store OpenStreetMap data. Stephen Knox...
Mining the Web for Points of Interest
GeoPackage, Context and POI (and a sprinkle of GeoJSON)
BlueBRIDGE: Cloud infrastructure serving aquafarms and supporting models
Supporting Geo-Ontology Engineering through Spatial Data Analytics
C+P-and-partners_Working process
Automation of Glass fiber Deployments in The Netherlands
Geo-analytics Architecture - Technologies
From Spark to Ignition: Fueling Your Business on Real-Time Analytics
Leveraging Geo-Spatial (Big) Data for Financial Services Solutions
The NoSQL Geospatial Landscape
The Road To RAM - Carlos Bueno, MemSQL
Using Big Data techniques to query and store OpenStreetMap data. Stephen Knox...
Ad

Similar to Optimizing location-based apps with open data (20)

PPTX
IBM Relay 2015: Opening Keynote
 
PPTX
D3SF17- Improving Our China Clients Performance
PPTX
Schnellere Digitalisierung mit einer cloudbasierten Datenstrategie
PDF
AquaHacking Challenge - Bluemix Introduction
PPTX
All your database are belong to us - Koop, Cloudant, Feature Services
PDF
IoT at the Edge_Greengrass and More_ Craig Lawton_AWS
PDF
Cloud what is the best model for vietnam
PPTX
Cybersecurity Legos - We're all part of something bigger
PPTX
What's new for Serverless Computing in Azure
PDF
Blueprint Series: Architecture Patterns for Implementing Serverless Microserv...
PPTX
The Future of Enterprise Applications is Serverless
PPT
Challenges EPs Face Going Mobile
 
PDF
AWSome Day Manchester 2105 - Intro/Close
PDF
IBM InterConnect 2013 Cloud General Session: Jamie Thomas
PDF
Intro Presentation at AWS AWSome Day London September 2015
PDF
Time to Talk about Data Mesh
PPT
Teodor's Accreditation.ppt
PPTX
2nd Watch CTO - Kris Blisner
PDF
GEN AI EDM -Generative AI: Beyond Chatbots, Shaping the Future
PDF
Mapping Data Flows Across Apps, Microservices & APIs
IBM Relay 2015: Opening Keynote
 
D3SF17- Improving Our China Clients Performance
Schnellere Digitalisierung mit einer cloudbasierten Datenstrategie
AquaHacking Challenge - Bluemix Introduction
All your database are belong to us - Koop, Cloudant, Feature Services
IoT at the Edge_Greengrass and More_ Craig Lawton_AWS
Cloud what is the best model for vietnam
Cybersecurity Legos - We're all part of something bigger
What's new for Serverless Computing in Azure
Blueprint Series: Architecture Patterns for Implementing Serverless Microserv...
The Future of Enterprise Applications is Serverless
Challenges EPs Face Going Mobile
 
AWSome Day Manchester 2105 - Intro/Close
IBM InterConnect 2013 Cloud General Session: Jamie Thomas
Intro Presentation at AWS AWSome Day London September 2015
Time to Talk about Data Mesh
Teodor's Accreditation.ppt
2nd Watch CTO - Kris Blisner
GEN AI EDM -Generative AI: Beyond Chatbots, Shaping the Future
Mapping Data Flows Across Apps, Microservices & APIs

More from Raj Singh (8)

PPTX
data science toolkit 101: set up Python, Spark, & Jupyter
PPTX
Field Work: Map-centric mobile apps with Cloudant Geo and LeafletJS
PPTX
Painless Polyglot Persistence
PPTX
The Evolution of Mobile Mapping
PDF
JSON Everywhere
PPTX
GeoPackage, OWS Context and the OGC Interoperability Program
PPTX
IoT Meets Geo
PPTX
Introduction to GeoPackage and OWS Context
data science toolkit 101: set up Python, Spark, & Jupyter
Field Work: Map-centric mobile apps with Cloudant Geo and LeafletJS
Painless Polyglot Persistence
The Evolution of Mobile Mapping
JSON Everywhere
GeoPackage, OWS Context and the OGC Interoperability Program
IoT Meets Geo
Introduction to GeoPackage and OWS Context

Recently uploaded (20)

PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
KodekX | Application Modernization Development
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Encapsulation theory and applications.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Approach and Philosophy of On baking technology
PPTX
Cloud computing and distributed systems.
PPT
Teaching material agriculture food technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
Network Security Unit 5.pdf for BCA BBA.
NewMind AI Weekly Chronicles - August'25 Week I
KodekX | Application Modernization Development
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Chapter 3 Spatial Domain Image Processing.pdf
The AUB Centre for AI in Media Proposal.docx
Encapsulation theory and applications.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Review of recent advances in non-invasive hemoglobin estimation
Approach and Philosophy of On baking technology
Cloud computing and distributed systems.
Teaching material agriculture food technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
“AI and Expert System Decision Support & Business Intelligence Systems”
Programs and apps: productivity, graphics, security and other tools
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Big Data Technologies - Introduction.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Empathic Computing: Creating Shared Understanding
Reach Out and Touch Someone: Haptics and Empathic Computing

Optimizing location-based apps with open data

  • 1. IBM Cloud Data Services Optimizing Location Based Apps with Open Data Raj Singh, PhD Developer Advocate: Geo | Open Data rrsingh@us.ibm.com http://ibm.biz/rajrsingh twitter: @rajrsingh
  • 2. @rajrsingh IBM Cloud Data Services Read my newsletter on open data! http://opendatamag.rajsingh.org My background Developer Advocate, Geo + open data IBM Analytics MCP, Ph.D. Urban Studies & Planning Crime data blog hot off the presses https://developer.ibm.com/clouddataservices/2016/11/03/open-crime-data
  • 3. @rajrsingh IBM Cloud Data Services Agenda • Finding and harvesting open crime data • Data wrangling & schema reconciliation • Products • data service • safety app
  • 4. @rajrsingh IBM Cloud Data Services Architecture
  • 5. @rajrsingh IBM Cloud Data Services Harvesting Crime Data
  • 6. @rajrsingh IBM Cloud Data Services Open data is on the rise open data? Technology maturity curve
  • 7. @rajrsingh IBM Cloud Data Services Where to find open data US • http://us-city.census.okfn.org UK crime data: • https://data.police.uk/data/ Europe • https://data.europa.eu/euodp/en/data • https://www.europeandataportal.eu/
  • 8. @rajrsingh IBM Cloud Data Services The Socrata API
  • 9. @rajrsingh IBM Cloud Data Services Data Wrangling Gaucho Data Wrangler. Picture by Dave Werkley, http://compendiumofcountries.org/wiki/index.php?title=File:Data_Wrangler_-_Gaucho.png
  • 10. @rajrsingh IBM Cloud Data Services Data wrangling crime codes
  • 11. @rajrsingh IBM Cloud Data Services Querying Socrata for Boston Crimes • https://data.cityofboston.gov/resource/29yf-ye7n.json? $where= occurred_on_date>=“2016-08-23” AND occurred_on_date<“2016-08-24” • Then run it every day…
  • 12. @rajrsingh IBM Cloud Data Services Boston crime data query response
  • 13. @rajrsingh IBM Cloud Data Services Crime reconciliation • CDSNV: non-violent • CDSDV: domestic violence • CDSSTREET: street crime
  • 14. @rajrsingh IBM Cloud Data Services Data Products & Offerings By Patrick Denker from Athens, GA - DSC04878, CC BY 2.0, https://commons.wikimedia.org/w/index.php?curid=37301184
  • 15. @rajrsingh IBM Cloud Data Services REST API & Mapping
  • 16. @rajrsingh IBM Cloud Data Services Cloudant / CouchDB replication Warning: Cloudant Free tier only supports 1Gb of data
  • 17. @rajrsingh IBM Cloud Data Services Then this happened…
  • 18. @rajrsingh IBM Cloud Data Services The danger zone
  • 19. @rajrsingh IBM Cloud Data Services Safety app architecture 1. Built using Ionic framework 2. Cloudant -> mobile replication 3. Safety rating decision 4. Notification https://github.com/ibm-cds-labs/crionic | by Jason Smith
  • 20. @rajrsingh IBM Cloud Data Services Safety app phase 2 • Add Census demographics • Population: crimes per capita • Housing quality • Add Points of Interest • Commercial activity: busy areas are safer
  • 21. IBM Cloud Data Services Raj Singh Developer Advocate: Geo | Open Data rrsingh@us.ibm.com http://ibm.biz/rajrsingh Twitter: @rajrsingh LinkedIn: rajrsingh Thanks • REST API • http://ibm.biz/opencrimes • Crime demos • http://crimedemos.mybluemix.net/crimebrowser • http://crimedemos.mybluemix.net • Crime code reconciliation tables • https://github.com/ibm-cds-labs/open-data/tree/master/crime • Harvesting service code • https://github.com/ibm-cds-labs/crimeharvest • IBM Cloud Data Services on Bluemix • http://www.ibm.com/cloud-computing/bluemix/solutions/data-analytics/

Editor's Notes

  • #8: http://us-city.census.okfn.org http://us-city.census.okfn.org/place/sanfrancisco https://data.police.uk/data/ by 2011 lower layer super output area (LSOA) https://data.cityofboston.gov/Public-Safety/Crime-Incident-Reports-August-2015-To-Date-Source-/fqn4-4qap
  • #9: Nice standardized UI for the common person to browse, query and visualize data Provides a SQL-like query language for developers But it’s only as good as the data cities put in it… No standard for coding No standard for release schedule Varying location accuracy (points, slightly generalized points, blocks, etc)
  • #14: https://github.com/ibm-cds-labs/open-data/tree/master/crime
  • #15: https://en.wikipedia.org/wiki/Intermodal_container By Patrick Denker from Athens, GA - DSC04878, CC BY 2.0, https://commons.wikimedia.org/w/index.php?curid=37301184
  • #18: I’ve been looking at crime data for a while, but my interest took on a new intensity when Pokémon Go came out and we started hearing about people luring players into dark alleys and robbing them. Surely data could play a role in helping people avoid these incidents. But it could also be used for so much more: Should I open a store here? If I do, when should it close?
  • #19: So I decided I would build an app that let you know when you were heading towards an area that, based on crime data, looked like a bad bet.