Create month-by-month timeline plots given a primary key ID and a list of tables to query.
-
dssg_timelines.py: the module file.
-
driver_entity_timeline.ipynb: a Jupyter notebook containing an example of how to use this module.
You'll need your own credentials file (see the Jupyter notebook), which is just a file "credientials.py" which consists of the following four lines:
PGHOST="postgres.dssg.io"
PGDATABASE=""
PGUSER=""
PGPASSWORD=""
where the values for these variables were the credentials given to you in your first week.