create_param_file {rjwsacruncher} | R Documentation |
Create parameter file for the 'JWSACruncher'
Description
To run the 'JWSACruncher' needs a parameter file and create_param_file
allows to create it.
Usage
create_param_file(
dir_file_param,
bundle = 10000,
csv_layout = "list",
csv_separator = ";",
ndecs = 6,
full_series_name = TRUE,
rslt_name_level = 2,
policy = "parameters",
refreshall = TRUE,
output = NULL,
matrix_item = getOption("default_matrix_item"),
tsmatrix_series = getOption("default_tsmatrix_series"),
paths_path = NULL,
v3 = getOption("is_cruncher_v3")
)
Arguments
dir_file_param |
Path to the directory that will contains the parameter file |
bundle |
Maximum size for a group of series (in output). By default |
csv_layout |
Layout of the CSV files (series only). By default |
csv_separator |
The field separator string used in the CSV file. By default |
ndecs |
Number of decimals used in the output. By default |
full_series_name |
Boolean indicating if the fully qualified name of the series will be used (the default |
rslt_name_level |
Only used when |
policy |
Refreshing policy of the processing. By default |
refreshall |
Boolean indicating if the data is refreshed (by default |
output |
Full path of the output folder. By default ( |
matrix_item |
Character containing the items of the matrix output (see the 'JDemetra+' manual for more information). By default, the items defined in the option |
tsmatrix_series |
Character containing the names of the times series to export (see the 'JDemetra+' manual for more information). By default, the items defined in the option |
paths_path |
The paths used for relative addresses (see the "Demetra Paths" of the graphical interface of 'JDemetra+'). |
v3 |
Boolean indicating if the parameter file should be compatible with a version 3.0.0 and higher of 'JWSACRuncher' ( |
Details
When the 'JWSACruncher' is launched, the data is refreshed with a specific policy that is defined by the parameter policy
. The available options are:
-
policy = "current"
: all the estimations are fixed; -
policy = "fixedparameters"
orpolicy = "fixed"
: re-estimation of the coefficients of the regression variables (but not the ARIMA coefficients); -
policy = "parameters"
(the default):policy = "fixedparameters"
+ re-estimation of ARIMA coefficients; -
policy = "lastoutliers"
:policy = "parameters"
+ re-identification of last outliers (on the last year); -
policy = "outliers"
:policy = "lastoutliers"
+ re-identification of all outliers; -
policy = "stochastic"
:policy = "outliers"
+ re-identification of ARIMA orders; -
policy = "complete"
orpolicy = "concurrent"
: the model is completely re-identified and re-estimated.
Value
Path to the parameter file.
See Also
read_param_file()
, list2param_file()
, default_param_file cruncher_and_param()
.
Examples
## Not run:
dir = tempdir()
# Here a file parameters.param is created in the directory dir
# with default parameters of the different options
create_param_file(dir)
# to only export the raw and the seasonally adjusted series
create_param_file(dir,
tsmatrix_series = c("y", "sa"))
## End(Not run)