create_inp
Converts raw time series data from spreadsheets or CSV into a .inp file, providing a minimal data container for subsequent time series analysis.
Instructions
Create a .inp file from raw time series data.
This is the FIRST tool to call when the user provides data from a spreadsheet, CSV, or any source other than an existing .inp file. The .inp produced is a minimal data container (no model structure) ready for boxcox_analysis, guided_identification, and the full guided workflow.
Parameters
data : list of numeric observations in chronological order output_path : path where the .inp file will be written (e.g. ~/data/IPC.inp) name : series name (e.g. "IPC", "PCE", "GDP") freq : observation frequency — 1=annual, 4=quarterly, 12=monthly start_year : year of the first observation (e.g. 2003) start_period : period of the first observation, 1-based (month 1-12 for monthly; quarter 1-4 for quarterly; 1 for annual)
Returns
Confirmation string with the path, series name, n, freq, and start date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| freq | No | ||
| name | No | series | |
| start_year | No | ||
| output_path | Yes | ||
| start_period | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |