insee_get_data
Retrieve official French statistical time series from INSEE using an IDBANK identifier, with optional period filters or last N observations for fact-checking.
Instructions
Get time series data for an INSEE indicator.
Args: idbank: The INSEE IDBANK identifier. start_period: Optional start period filter (inclusive). end_period: Optional end period filter (inclusive). last_n: Optional limit to last N observations.
Returns: TimeSeries with observations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idbank | Yes | ||
| last_n | No | ||
| end_period | No | ||
| start_period | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Source-specific identifier | |
| unit | Yes | Measurement unit | |
| title | Yes | Human-readable title | |
| source | Yes | Data source: insee, eurostat, worldbank, oecd | |
| frequency | Yes | Update frequency | |
| source_url | Yes | URL to source page | |
| methodology | Yes | Short methodology description | |
| observations | Yes | Time-ordered data points |