Time Series Data Library now on DataMarket

[This article was first published on Research tips » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

The Time Series Data Library is a collection of about 800 time series that I have maintained since about 1992, and hosted on my personal website. It includes data from a lot of time series textbooks, as well as many other series that I’ve either collected for student projects or helpful people have sent to me.

I’ve now moved the collection onto DataMarket which provides much better facilities for maintaining and using time series data. You can easily search the collection, graph any series, filter by seasonal period, and so on. You can also export data in many formats. Each data set has its own short link; for example, the famous Canadian lynx data is at http://data.is/Ky69xY.

One particularly useful feature is the ability to read directly into R using the rdatamarket package. All you need to know is the short link. For example, to download “Deaths from gun-related homicides in Australia, 1915–2004″, use the following R code

library(rdatamarket)
deaths <- dmseries("http://data.is/Ky6vVf")

The data is set to zoo class. To make it of ts class, use

deaths <- as.ts(deaths[,1])

In this case, deaths only contained one column, but in general multivariate time series can be downloaded in this manner.

DataMarket contains thousands of other time series from organizations including Eurostat, the IMF, the United Nations, Gapminder, and many more. Some time series require a subscription, but many can be used freely. The time series in the TSDL will remain freely available.

I’m grateful to DataMarket for agreeing to host my library without charge, and I encourage everyone interested in time series analysis to check them out.

If you use any data from the TSDL in a publication, please use the following citation:

Hyndman, R.J. Time Series Data Library, http://data.is/TSDLdemo. Accessed on .

The data files will remain on my website so that existing links will not be broken.

To leave a comment for the author, please follow the link and comment on their blog: Research tips » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)