O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Optimizing location-based apps with open data

191 visualizações

Publicada em

Open data is on the rise, and freely available data sets - like municipal data - can bring huge value and new features to applications, at no upfront cost. For example, open crime data can be leveraged to support features that make location based apps safer for users.

However, the challenge for developers is to efficiently wrangle, store and deliver open data sets without having to build complex data architectures.

Using the example of crime data applied to a new safety feature for Pokemon Go, this webinar will demonstrate how to harvest open geo data, store it natively in a cloud database (Cloudant), and ensure it is highly available for applications and analytics platforms.

Publicada em: Tecnologia
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

Optimizing location-based apps with open data

  1. 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. 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. 3. @rajrsingh IBM Cloud Data Services Agenda • Finding and harvesting open crime data • Data wrangling & schema reconciliation • Products • data service • safety app
  4. 4. @rajrsingh IBM Cloud Data Services Architecture
  5. 5. @rajrsingh IBM Cloud Data Services Harvesting Crime Data
  6. 6. @rajrsingh IBM Cloud Data Services Open data is on the rise open data? Technology maturity curve
  7. 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. 8. @rajrsingh IBM Cloud Data Services The Socrata API
  9. 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. 10. @rajrsingh IBM Cloud Data Services Data wrangling crime codes
  11. 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. 12. @rajrsingh IBM Cloud Data Services Boston crime data query response
  13. 13. @rajrsingh IBM Cloud Data Services Crime reconciliation • CDSNV: non-violent • CDSDV: domestic violence • CDSSTREET: street crime
  14. 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. 15. @rajrsingh IBM Cloud Data Services REST API & Mapping
  16. 16. @rajrsingh IBM Cloud Data Services Cloudant / CouchDB replication Warning: Cloudant Free tier only supports 1Gb of data
  17. 17. @rajrsingh IBM Cloud Data Services Then this happened…
  18. 18. @rajrsingh IBM Cloud Data Services The danger zone
  19. 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. 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. 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/