Data analysis with Python and Jupyter Notebook

Plot made in Python with the data retrieved from Glowing Bear

With the powerful API, you can easily retrieve data from Glowing Bear to use in your programming language of choice. For Python there is a dedicated client library to natively access the data. This is especially useful in Jupyter Notebook, as we’ll see below.

The following tutorial is using the SyntheticMass dataset, an open source synthetic patient and population health data that simulates the state of Massachusetts in 2021.

Table of contents

Exercise 1: Querying and analysis

In this exercise we will teach you:

Binder

Go to the interactive Jupyter Notebook with the exercise or download the Notebook to run it on your own computer.

Exercise 2: Administration

The API is also very useful to perform administrative tasks, like the rebuilding of the caches after you have loaded new data.

Note: Your user account on Glowing Bear will need to have admin rights to perform this exercise.

In this exercise we will teach you:

Binder

Go to the interactive Jupyter Notebook with the exercise or download the Notebook to run it on your own computer.