HomeRCase Study: Analyzing City Time Series Data in R

# Case Study: Analyzing City Time Series Data in R

Strengthen your knowledge of the topics covered in Manipulating Time Series in R using real case study data.

4 Hours12 Videos50 Exercises

or

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.

### .css-1goj2uy{margin-right:8px;}Group.css-gnv7tt{font-size:20px;font-weight:700;white-space:nowrap;}.css-12nwtlk{box-sizing:border-box;margin:0;min-width:0;color:#05192D;font-size:16px;line-height:1.5;font-size:20px;font-weight:700;white-space:nowrap;}Training 2 or more people?

Try DataCamp for BusinessFor a bespoke solution book a demo.

Go To Track

Go To Track
1. 1

### Flight Data

Free

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.

Play Chapter Now
Review xts fundamentals
50 xp
Identify the time series
50 xp
Flight data
100 xp
Pick out the xts object
50 xp
100 xp
50 xp
100 xp
Visualize flight data
100 xp
Calculate time series trends
100 xp
Saving and exporting xts objects
50 xp
Assessing flight trends
50 xp
Saving time - I
100 xp
Saving time - II
100 xp
2. 2

### Weather Data

In this chapter, you'll expand your time series data library to include weather data in the Boston area. Before you can conduct any analysis, you'll need to do some data manipulation, including merging multiple xts objects and isolating certain periods of the data. It's a great opportunity for more practice!

3. 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.

4. 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.

### In the following Tracks

Go To Track

#### Time Series with R

Go To Track

Datasets

Flights arriving at Boston Logan airportBoston monthly average visibilityWind speeds in BostonBoston monthly temperature dataUS and Massachusetts unemploymentUS GDP dataBoston-area sports teams data
Lore Dirick

Director of Data Science Education at Flatiron School

Lore is a data scientist with expertise in applied finance. She obtained her PhD in Business Economics and Statistics at KU Leuven, Belgium. During her PhD, she collaborated with several banks working on advanced methods for the analysis of credit risk data. Lore formerly worked as a Data Science Curriculum Lead at DataCamp, and is and is now Director of Data Science Education at Flatiron School, a coding school with branches in 8 cities and online programs.
See More
Matt Isaacs

Political Science PhD interested in data science in defense, security, and international relations

See More