Package 'seasonalview'

Title: Graphical User Interface for Seasonal Adjustment
Description: A graphical user interface to the 'seasonal' package and 'X-13ARIMA-SEATS', the U.S. Census Bureau's seasonal adjustment software.
Authors: Christoph Sax [aut, cre]
Maintainer: Christoph Sax <[email protected]>
License: GPL-3
Version: 1.0.0
Built: 2024-11-20 06:06:24 UTC
Source: https://github.com/christophsax/seasonalview

Help Index


Graphical User Interface for Seasonal Adjustment

Description

A graphical user interface to the seasonal package and X-13ARIMA-SEATS, the U.S. Census Bureau's seasonal adjustment software. The seasonalview package unifies the code base of http://www.seasonal.website with the GUI in the seasonal package.

Author(s)

Christoph Sax [email protected]

See Also

view for the main function of seasonalview.


Stand Alone Seasonal Web-Application

Description

Previews a stand alone web application for seasonal adjustment, whith the same look and feel as http://www.seasonal.website. Allows import and export of data via an 'Up-/Download' button.

Usage

standalone()

See Also

view to interactively modify a "seas" object.

Examples

## Not run: 
standalone()

## End(Not run)

Interactively Modify a Seasonal Adjustment Model

Description

Interactively modify a "seas" object. The goal of view is to summarize all relevant options, plots and statistics of a seasonal adjustment model.

Usage

view(x = NULL, story = NULL, quiet = TRUE, ...)

Arguments

x

an object of class "seas".

story

character, local file path or URL to an ".Rmd" file.

quiet

logical, if TRUE (default), error messages from calls in view are not shown in the console.

...

arguments passed to runApp. E.g., for selecting if the GUI should open in the browser or in the RStudio viewer pane.

Details

Frequently used options can be modified using the drop down selectors in the upper left box. Each change will result in a re-estimation of the seasonal adjustment model. The R-call, the X-13 call, the graphical output and the summary are updated accordingly.

Alternatively, the R call can be modified manually in the lower left box. Click 'Run Call' to re-estimate the model and to adjust the option selectors, the graphical output, and the summary. With the 'To console' button, the GUI is closed and the call is imported to R. The 'Static' button substitutes automatic procedures by the automatically chosen spec-argument options, in the same way as the static function.

If you are familiar with the X-13 spec syntax, you can modify the X-13 call, with the same consequences as when modifying the R call.

The lower right panel shows the summary, as described in the help page of summary.seas. The 'X-13 output' button opens the complete output of X-13 in a separate tab or window.

If you have the x13story package installed (not yet on CRAN, see references), 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.

Value

view returns an object of class "seas", the modified model; or NULL, if the story argument is supplied.

References

Seasonal vignette with a more detailed description: http://www.seasonal.website/seasonal.html

Development version of the x13story package: https://github.com/christophsax/x13story

Examples

## Not run: 

m <- seas(AirPassengers)
view(m)

# store the model after closing the GUI, for further processing in R
m.upd <- view(m)  

## End(Not run)