Merging time series data by row

Case Study: Analyzing City Time Series Data in R

Lore Dirick

Manager of Data Science Curriculum at Flatiron School

Merging using rbind()

  • xts objects are automatically ordered in time
  • Merging xts objects using rbind() preserves order

$$

inserting rows in table preserves order by year

Case Study: Analyzing City Time Series Data in R

Weather data

  • Practice with Boston area weather data

Boston Commons under the snow

1 Beau Wade, https://www.flickr.com/people/absolutwade/
Case Study: Analyzing City Time Series Data in R

Let's practice!

Case Study: Analyzing City Time Series Data in R

Preparing Video For Download...