~/talk

Enhancing Civics Data with Elasticsearch, pandas and Eland

Talkat PyCascades 2021 · 2021-02-19..02-21· [data-engineering, databases]
slides:none on file

Project consolidates San Diego "Calls for Service" across 11 separate datasets dating back to 2015, cleaning CSVs with pandas and helper scripts to standardize types and drop duplicates. It loads a single-year sample of 48,976 records (nearly 4 million records total historically), converts approximate locations to geo_point via public geoJSON and Elasticsearch filters, bulk-ingests and syncs data through eland-backed DataFrames into Elasticsearch for Kibana visualization, and automates periodic updates — full pipeline runs and dashboards function as demonstrated.

AI-written summary · about

  1. 0:00Introduction
  2. 2:57Disclaimer
  3. 7:21Downloading Data
  4. 8:40Importing pandas
  5. 9:38Loading police call data
  6. 10:20Data frame binding
  7. 10:51Merging data
  8. 13:13Sorting data
  9. 17:14Selective enforcement
  10. 18:37Uploading Data
  11. 19:19Loading Data into Elasticsearch
  12. 27:05Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.