New York City is home to about 9 million people. This tutorial uses historical data from New York's yellow taxi network, provided by the New York City Taxi and Limousine Commission NYC TLC. The NYC TLC tracks over 200,000 vehicles making about 1 million trips each day. Because nearly all of this data is time-series data, proper analysis requires a purpose-built time-series database, like TimescaleDB.

Before you begin, make sure you have:

Run all tutorials free

Your Timescale trial is completely free for you to use for the first thirty days. This gives you enough time to complete all the tutorials and run a few test projects of your own.

Try for free

This tutorial covers:

  1. Setting up up your dataset: Set up and connect to a Timescale Cloud service, and load data into your database using psql.
  2. Querying your dataset: Analyze a dataset containing NYC taxi trip data using TimescaleDB and PostgreSQL.
  3. Advanced queries: Use TimescaleDB with the PostGIS extension to query geospatial data.

This tutorial uses the NYC taxi data to show you how to construct queries for time-series data. The analysis you do in this tutorial is similar to the kind of analysis data science organizations use to do things like plan upgrades, set budgets, and allocate resources.

It starts by teaching you how to set up and connect to a TimescaleDB database, create tables, and load data into the tables using psql.

You then learn how to conduct analysis and monitoring on your dataset. It walks you through using PostgreSQL queries to obtain information, including how to use JOINs to combine your time-series data with relational or business data.

Finally, it covers some special TimescaleDB SQL functions that can help you analyze your time-series data, and how to use other extensions, like PostGIS, for faster queries.


Found an issue on this page?

Report an issue!