# xts

> eXtensible Time Series for R

Source: https://talira.ai/catalog/xts-dnb03w88
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [data / time series](https://talira.ai/categories/data/time-series), [languages / r](https://talira.ai/categories/languages/r)
- Licence: GPL-2.0-or-later[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Joshua Ulrich](https://talira.ai/orgs/joshua-ulrich.md)

xts (eXtensible Time Series) is an R package that extends [zoo](https://talira.ai/catalog/zoo-5hezf858.md) to handle R's different time-based data classes uniformly: it keeps a truly time-based index, preserves each source format's information, lets users customise and extend it, and makes converting between classes simpler. It trades some of zoo's flexibility (zoo can use anything as an index) for performance by imposing reasonable constraints. It appears in CRAN's Econometrics, Finance, MissingData, SpatioTemporal and TimeSeries task views. Jeffrey A. Ryan wrote it, and Joshua M. Ulrich maintains it.

## Links

- Website: https://joshuaulrich.github.io/xts/
- GitHub: https://github.com/joshuaulrich/xts
- Docs: https://joshuaulrich.github.io/xts/

## Problems it solves

- work with financial time series indexed by date and time in R
- convert between R's different time series classes without losing information
- subset and align time series by date in R

## Features

- time-based index extending zoo
- uniform handling of R's time series classes
- preserves the original class's information on conversion
- faster than zoo by imposing reasonable constraints

## Trust

Overall: 0.38 out of 1.
Signals: maintenance 0.48, adoption 0.47, momentum 0.12, community 0.60, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 4 commits in the last 90 days
- latest release v0.14.3 2 months ago
- 225 GitHub stars
- 30 contributors
- accepts sponsorship (Github)
- backed by Joshua Ulrich

## Related

- Based on [zoo](https://talira.ai/catalog/zoo-5hezf858.md)

## Alternatives

- [zoo](https://talira.ai/catalog/zoo-5hezf858.md): R package for regular and irregular time series with an index of any class

## Sources

[^1]: https://cran.r-project.org/web/packages/xts/index.html (checked 28 Nov 2026)
