Graphical User Interface for Seasonal Adjustment

A graphical user interface to the 'seasonal' package and 'X-13ARIMA-SEATS', the U.S. Census Bureau's seasonal adjustment software. Unifies the code base of <> and the GUI in the 'seasonal' package.

Graphical User Interface for Seasonal Adjustment

An R package that unifies the shiny-based graphical user interfaces from the seasonal and x13story packages and the online adjustment tool on

To install from CRAN, use:


The main function of the package is the view function, which works like the depreciated inspect function in seasonal (which it replaces). seasonalview is imported by seasonal, so loading is not necessary:

m <- seas(AirPassengers)

X-13 Story

If you have the x13story package installed, you can call the function with the story argument. This will render an R Markdown document and produce a story on seasonal adjustment that can be manipulated interactively.

view(story = "")


Finally, you can set up a stand-alone seasonal adjustment tool, either locally or on a server. While itself not very useful, the standalone function showcases how a local version of would look like:


License and Credits

seasonalview is free and open source, licensed under GPL-3. It is built on top of a large number of great open source tools. It uses shiny and shinydashboard, through which it accesses jQuery, bootstrap and AdminLTE, which in turn depend on a plethora of open source web technologies themselves. It also uses dygraphs, and, of course, seasonal, x13binary and X-13ARIMA-SEATS, the wonderful seasonal adjustment software by the U.S. Census Bureau.

Thanks for your feedback, your ideas and bug-reports. Contact me.


0.3 2017-05-04

Bug fixes:

0.2 2017-02-11

Under the hood:

  • better way to pass stuff to shiny app, using shinyOptions().
  • uses import.spc() from seasonal 1.4 for X-13 spc parsing.
  • workaround functions to properly import xts, which depends on zoo functions, so that seasonalview can be imported from other packages, such as seasonal. This will be reworked once a new version of xts is on CRAN.

Bug fixes:

  • Fixed issue that led to a crash when X-13 code was manipulated.

0.1.3 2016-12-14

Initial CRAN Version

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3 by Christoph Sax, 4 years ago

Report a bug at

Browse source code at

Authors: Christoph Sax

Documentation:   PDF Manual  

Task views: Time Series Analysis

GPL-3 license

Imports shinydashboard, shiny, dygraphs, htmlwidgets, openxlsx, xtable, xts, zoo

Depends on seasonal

Suggested by seasonal.

See at CRAN