Learn R Programming

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 www.seasonal.website.

To install from CRAN, use:

install.packages("seasonalview")

Seasonal

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:

library(seasonal)  
m <- seas(AirPassengers)
view(m)

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 = "https://raw.githubusercontent.com/christophsax/x13story/master/inst/stories/x11.Rmd")

Stand-alone

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 www.seasonal.website would look like:

library(seasonalview)
standalone()

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

Copy Link

Version

Install

install.packages('seasonalview')

Monthly Downloads

1,181

Version

1.0.0

License

GPL-3

Maintainer

Christoph Sax

Last Published

October 22nd, 2024

Functions in seasonalview (1.0.0)

view

Interactively Modify a Seasonal Adjustment Model
seasonalview-package

Graphical User Interface for Seasonal Adjustment
standalone

Stand Alone Seasonal Web-Application