Skip to main content
HomeR

Course

Case Study: Analyzing City Time Series Data in R

IntermediateSkill Level
4.8+
133 reviews
Updated 01/2026
Strengthen your knowledge of the topics covered in Manipulating Time Series in R using real case study data.
Start Course for Free
RProbability & Statistics4 hr12 videos50 Exercises3,950 XP14,043Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

Course Description

In this course, you will strengthen your knowledge of time series topics through interactive exercises and interesting datasets. You’ll explore a variety of datasets about Boston, including data on flights, weather, economic trends, and local sports teams.

Prerequisites

Manipulating Time Series Data in R
1

Flight Data

You've been hired to understand the travel needs of tourists visiting the Boston area. As your first assignment on the job, you'll practice the skills you've learned for time series data manipulation in R by exploring data on flights arriving at Boston's Logan International Airport (BOS) using xts & zoo.
Start Chapter
2

Weather Data

3

Economic Data

Now it's time to go further afield. In addition to flight delays, your client is interested in how Boston's tourism industry is affected by economic trends. You'll need to manipulate some time series data on economic indicators, including GDP per capita and unemployment in the United States in general and Massachusetts (MA) in particular.
Start Chapter
4

Sports Data

Having exhausted other options, your client now believes Boston's tourism industry must be related to the success of local sports teams. In your final task on this project, your supervisor has asked you to assemble some time series data on Boston's sports teams over the past few years.
Start Chapter
Case Study: Analyzing City Time Series Data in R
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.8
from 133 reviews
86%
13%
1%
0%
0%
  • Murad
    yesterday

  • ‪IBRAHIM
    2 days ago

  • Ray
    7 days ago

  • Ahmad kedebi
    7 days ago

  • Andrew
    last week

  • Shilajan
    2 weeks ago

Murad

Ray

Ahmad kedebi

FAQs

What Boston-related datasets are explored in this course?

You work with data on flights arriving at Logan International Airport, local weather records, economic indicators like GDP and unemployment, and Boston sports team performance.

Which R packages and tools are used for time series manipulation?

You use the xts and zoo packages for time series data manipulation, including merging, subsetting, and isolating specific time periods from the datasets.

What R experience do I need before starting this case study?

You need Intermediate R, plus courses on manipulating time series data in R and working with dates and times in R. This is an intermediate-level course.

How is the course structured around its city theme?

Each of the four chapters tackles a different Boston dataset: flights, weather, economic trends, and sports, all framed as assignments from a tourism consulting client.

Does this course teach time series modeling or focus on data manipulation?

It focuses on data manipulation and exploration. You practice merging xts objects, isolating time periods, and preparing data for analysis rather than fitting statistical models.

Join over 19 million learners and start Case Study: Analyzing City Time Series Data in R today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.