Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
COVID-19 Data Science Urban Epidemic Modelling in Python
Rating: 4.4 out of 5(129 ratings)
783 students

COVID-19 Data Science Urban Epidemic Modelling in Python

Spatial Data Analysis, Modelling, and Data Visualization of the coronavirus epidemic
Last updated 2/2021
English

What you'll learn

  • Create beautiful animated visualisations of a simulated epidemic spreading in a city using only Python
  • Use Python to run simulations of epidemics in a real city with real human movement data
  • Gain access to real urban mobility flow data and start analysing it!
  • Understand and code mathematical models in Python
  • Have a solid grasp of essential spatial data concepts and data types
  • Learn many tips and tricks to enhance your coding and data visualisation skills
  • Follow through the course code and materials and test your knowledge with quick exercises and tests
  • Have access to all the scripts and datasets used in the course as a reference point for your own projects

Course content

6 sections26 lectures4h 7m total length
  • Installing Python libraries: Geopandas & Osmnx5:39

    In this lecture, you will install the main Python library we are going to use throughout the course: Geopandas. You will also install an optional library related but not used in the course but which will be helpful to know about: Osmnx.

  • Geopandas: Starting with the basics13:58

    In this lecture, you will be introduced to Geopandas, its similarities to the classical Pandas library you know about, as well as its differences, particularly how Geopandas stores spatial objects. You will learn how to load the city into a GeoDataframe in a Jupyter Notebook and how to start working with it.

    You will also learn how to use the Osmnx library for downloading and visualising spatial geometries from OpenStreetMap's APIs. Finally, you will be introduced to spatial coordinate reference systems and learn why they are important when working with spatial data.

  • Geopandas: Advancing the basics5:37

    In this video, you will learn how to access the spatial geometry in a GeoDataframe and how to subdivide the city geometry into grid cells of your desired resolution. You will use this subdivided city territory to model the epidemic spreading from some cells to others in later lectures.

  • Geopandas: We start plotting!12:02

    In this lecture, you will learn how to plot the subdivided city with the grid cells annotated with numbers so you can keep track of which cell you are working with later.

  • Geopandas: Continue plotting!8:55

    In this video, you will continue plotting the subdivided city, but this time with a map in the background!

  • Geopandas basics
  • Geopandas: Plotting population densities7:33

    In this video, you will load a real dataset of population densities in each of the city grid cells and use them to create a choropleth map.

  • Geopandas: Customizing matplotlib colorbar7:19

    When plotting maps with Geopandas, the default legend colorbar looks often not the way we would like to. In this lecture, you will learn how to use Matplotlib functionalities to customize the colorbar and make it look nice!

Requirements

  • Just some basic high school math
  • Basic familiarity with Python and Jupyter Notebooks
  • No prior knowledge of epidemiology required as this course is about spatial analysis and visualisation with Python
  • Curiosity and a desire to learn!

Description

Interested in learning how to create spatial animated visualisations in Python? Want to learn it on the example of the Covid-19 coronavirus epidemic spreading in a real city with a real human mobility dataset? Then this course is for you!

You will learn how to use basic Python (3 or higher) to model the Covid-19 epidemic spreading in a city, do data analysis of real urban mobility data, run simulations of the epidemic in Jupyter Notebooks, and create beautiful complex animated visualisations on a city map. We will do this using the example of Yerevan city.

Covid-19 is a great case example for learning how to use Python for spatial analysis and visualisation. After completing this course you will be able to apply the techniques from this course to many other types of projects dealing with spatial data analysis and visualisation.

Assuming just a basic familiarity with Python numpy and matplotlib libraries, we will go step-by-step through using real urban mobility data for modelling, simulating and visualising the spread of the epidemic in an urban environment. On the way, you will learn lots of tricks and tips for enhancing your Python coding skills and making even more compelling and complex data visualisations.

The course consists of the following sections:

  • Introduction, where you will learn about the Python GeoPandas library and how to use it for making nice spatial visualisations right in the Jupyter Notebook

  • Understanding the spatial epidemiological models, in which you will get a firm intuition and a solid understanding of the maths behind the spatial epidemiological models

  • Coding the spatial epidemiological model in Python, where you will learn how to use Python and numpy to write efficient code for the epidemic simulation engine

  • Simulating the Covid-19 epidemic in a city, in which you will use the epidemic model code and a real dataset of urban mobility flows to run simulations of the Covid-19 epidemic in a city

  • Covid-19 urban spatio-temporal visualisation, where you will put all the acquired knowledge to create a beautiful animated spatial visualisation on a city map, showing how the virus spreads in the city!

This course is a hands-on, practical course, making sure you can immediately apply the acquired skills to your own projects. The acquired spatial modelling, data visualisation, and spatial data science skills will be a valuable addition to your data science toolbox.

I will be there for you throughout this journey for any questions and doubts, so don't hesitate to begin and have a successful and satisfying experience!

Who this course is for:

  • Everyone interested in modelling and making animated spatial visualisations in a city
  • Beginning data science enthusiasts with basic Python & numpy familiarity
  • Spatial analysts used to QGIS/ArcGIS who would like to boost their Python skills
  • Urban planners and policy makers with basic Python & numpy familiarity