Skip to main content

Contact Tracing with Elasticsearch

1h 37m 3s
English
Paid

Course description

In this fascinating engineering project, you will learn to track user movements through their phone scans. The aim of the project is to use Elasticsearch as a search system to analyze a dataset in which 100,000 users visit stores and make 1,000,000 scans.

Read more about the course

You will create your own dataset using Python and Pandas, utilizing an open dataset of San Francisco stores containing over 140,000 stores with their names and coordinates. From this dataset, you will select 10,000 stores and generate 100,000 fictional users, each of whom will perform an average of 10 check-ins. After uploading the data to Elasticsearch, you will create a user interface with Streamlit for data visualization.

Your application interface includes:

  • Search by store name
  • Search by ZIP code to filter stores by area
  • Search by business ID for visit analysis
  • Search and track by Device ID to see where a specific user has been

In the course of working on the project, you will learn to:

  • Transform data and upload it in parquet format to Elasticsearch
  • Work with Kibana for index management and document search
  • Create an interactive interface with Streamlit featuring controls, Folium maps, and tables
  • Configure pages and execute queries to Elasticsearch

Course Program

  • Preparing the San Francisco dataset with 10,000 stores
  • Generating 100,000 fictional users
  • Merging user data with stores
  • Creating 1,000,000 app check-ins
  • Preparing data for upload to Elasticsearch
  • Uploading data to Elasticsearch
  • Developing a Streamlit application: maps, filters, tables
  • Page setup and working with Elasticsearch queries

Requirements

Before starting, it is recommended to take the course “Log Analysis in Elasticsearch” to understand the basics of working with Elasticsearch. Additionally, due to extensive work with data, it's advisable to complete the lessons on Pandas from the course “Python for Data Engineers”.

The project is designed for a computer with 8 GB of RAM.

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 19 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Introduction

All Course Lessons (19)

#Lesson TitleDurationAccess
1
Introduction Demo
03:01
2
Setup & Goals
03:28
3
San Francisco dataset
03:49
4
Relational database vs elasticsearch
06:49
5
Preparing the dev environment
02:05
6
Prepare the SF dataset 1
09:48
7
Preparing the SF dataset 2
08:47
8
Creating 100k fake users
08:59
9
Merging 100k users with SF dataset
06:02
10
Creating app scans for users
08:22
11
Preparing Elasticsearch and loading the data
04:41
12
Creating the Streamlit app basics and folium maps
02:27
13
Page setup and querying from Elasticsearch
05:28
14
Creating free text search
04:58
15
Zip code search
02:24
16
Business_id search
04:03
17
Search by device ID & tracking people
03:38
18
Summary
03:53
19
Outlook
04:21

Unlock unlimited learning

Get instant access to all 18 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

  • Building APIs with FastAPI

    Building APIs with FastAPI

    Sources: Andreas Kretz
    API is the foundation of any modern data platform. You either provide an API for clients or use external APIs yourself. In any case, it's important to be...
    1 hour 35 minutes 40 seconds
  • Python Interview Espresso

    Python Interview Espresso

    Sources: interviewespresso (Aaron Jack)
    Learn the algorithms, patterns, and process in Python.
    5 hours 11 minutes 29 seconds
  • LeetCode In Python: 50 Algorithms Coding Interview Questions

    LeetCode In Python: 50 Algorithms Coding Interview Questions

    Sources: udemy
    In this course, you'll have a detailed, step by step explanation of 50 hand-picked LeetCode questions where you'll learn about the most popular techniques and p
    19 hours 36 minutes 13 seconds
  • The Ultimate Django Series: Part 1

    The Ultimate Django Series: Part 1

    Sources: codewithmosh (Mosh Hamedani)
    Have you always wanted to learn Web development with Python but didn't know where to start? Tired of lengthy, confusing, and outdated courses? Look no further.
    4 hours 49 minutes 19 seconds
  • Automated Software Testing with Python

    Automated Software Testing with Python

    Sources: udemy
    Testing automation doesn't have to be painful. Software testing is an essential skill for any developer, and I'm here to help you truly understand all types of
    13 hours 26 minutes 55 seconds